paypal fix
authorJan Szejko <janek37@gmail.com>
Thu, 9 Aug 2018 14:07:47 +0000 (16:07 +0200)
committerJan Szejko <janek37@gmail.com>
Thu, 9 Aug 2018 14:07:47 +0000 (16:07 +0200)
src/paypal/urls.py

index 468870b..38f636d 100644 (file)
@@ -7,8 +7,8 @@ from . import views
 
 urlpatterns = (
     url(r'^form/$', views.paypal_form, name='paypal_form'),
 
 urlpatterns = (
     url(r'^form/$', views.paypal_form, name='paypal_form'),
-    url(r'^app-form/$', views.paypal_form, kwargs={'app': True}, name='paypal_api_form'),
+    url(r'^app-form/$', views.paypal_form, kwargs={'app': True}, name='paypal_app_form'),
     url(r'^return/$', views.paypal_return, name='paypal_return'),
     url(r'^return/$', views.paypal_return, name='paypal_return'),
-    url(r'^app-return/$', views.paypal_return, kwargs={'app': True}, name='paypal_api_return'),
+    url(r'^app-return/$', views.paypal_return, kwargs={'app': True}, name='paypal_app_return'),
     url(r'^cancel/$', views.paypal_cancel, name='paypal_cancel'),
 )
     url(r'^cancel/$', views.paypal_cancel, name='paypal_cancel'),
 )