integrating django-paypal
- by ramdaz
Hi
I am trying to integrate Django-Paypal onto a site, where once the customer makes a payment I need to send a dynamic URL from which the user can download some specific information.
I am registering all users to a URL which allows them to buy the document. The URL which can only be accessed by a registered user with a verified email ids using django-registration, allows the user to connect to paypal and make payment.
How do I capture the signal and verify which user has made the payment for which product he/she is purchased, based on this information
1) I need to know two information, which user made the payment, and for which product did he or she make the payment?
2) Only if I have these information can I send the right UR:L by email.
Any help appreciated. I am not very sure how django-signals work. What all details does payment_was_successful signal return?
I am using IPN