[Fixed]-Django-paypal setup

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.

👤S.Lott

0👍

PayPal django Integration post should help you.

👤lprsd

Leave a comment