PayPal: Fixed URL names and exception handling

This commit is contained in:
Raphael Michel
2015-06-24 17:18:28 +02:00
parent fa642ddffe
commit 224eaeee48
2 changed files with 18 additions and 14 deletions

View File

@@ -5,8 +5,8 @@ from .views import success, abort, retry
urlpatterns = [
url(r'^paypal/', include([
url(r'^abort/$', abort, name='paypal.abort'),
url(r'^return/$', success, name='paypal.return'),
url(r'^retry/(?P<order>[^/]+)/', retry, name='paypal.retry')
url(r'^abort/$', abort, name='abort'),
url(r'^return/$', success, name='return'),
url(r'^retry/(?P<order>[^/]+)/', retry, name='retry')
])),
]