django-paypal
django-paypal copied to clipboard
Checks PayPal's returned business email against RECEIVER_EMAIL
PayPal allows users to have more than one email address attached to their account.
If such an email address is specified as RECEIVER_EMAIL, transaction's verification goes wrong because PayPal returns the primary account's email as receiver_email, but gives the right business address.
This small patch allows to check RECEIVER_EMAIL against returned receiver_email and business email if different.
Any chance of adding a test for this?