Fixed script prefixes in absolute URLs

This commit is contained in:
Raphael Michel
2015-06-18 15:33:40 +02:00
parent 32a9d9709b
commit 8b3eb14d73
6 changed files with 20 additions and 12 deletions

View File

@@ -71,12 +71,12 @@ def retry(request, order):
"payment_method": "paypal",
},
"redirect_urls": {
"return_url": build_absolute_uri(reverse('plugins:paypal:retry', kwargs={
"return_url": build_absolute_uri('plugins:paypal:retry', kwargs={
'order': order.code
})),
"cancel_url": build_absolute_uri(reverse('plugins:paypal:retry', kwargs={
}),
"cancel_url": build_absolute_uri('plugins:paypal:retry', kwargs={
'order': order.code
})),
}),
},
"transactions": [
{