5👍
✅
In your code…
'payment_form_cls': 'payment_form_cls', # form class to use for payment
This must be a Form object that’s used for validation.
'payment_form_cls': MyValidationForm, # form class to use for payment
Edit
http://github.com/johnboxall/django-paypal/tree/master
Your request is supposed to include a notify-url, return-url and cancel-return. All three url’s YOU provide to Paypal.
Paypal will send messages to these URL’s.
Since Paypal will send messages to these URL’s, YOU must put them in your urls.py. You must write view functions for these three urls’. These urls will have your paypal responses sent to them.
- Postgresql socket error on OSX 10.7.3 when running Django's syncdb
- How to unit test Django-CMS extensions?
Source:stackexchange.com