Don't forget about paypal-only givers.
[wolnelektury.git] / src / paypal / urls.py
index aca8918..7adf644 100644 (file)
@@ -9,7 +9,7 @@ urlpatterns = (
     path('form/', RedirectView.as_view(url='/towarzystwo/dolacz/')),
     path('app-form/', RedirectView.as_view(url='/towarzystwo/dolacz/app/')),
 
-    path('return/', views.paypal_return, name='paypal_return'),
-    path('app-return/', views.paypal_return, kwargs={'app': True}, name='paypal_app_return'),
+    path('return/<key>/', views.paypal_return, name='paypal_return'),
+    path('app-return/<key>/', views.paypal_return, kwargs={'app': True}, name='paypal_app_return'),
     path('cancel/', views.paypal_cancel, name='paypal_cancel'),
 )