integrating django-paypal
        Posted  
        
            by ramdaz
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by ramdaz
        
        
        
        Published on 2010-04-05T12:18:02Z
        Indexed on 
            2010/04/05
            12:23 UTC
        
        
        Read the original article
        Hit count: 412
        
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
© Stack Overflow or respective owner