django-paypal icon indicating copy to clipboard operation
django-paypal copied to clipboard

Checks PayPal's returned business email against RECEIVER_EMAIL

Open hugoatease opened this issue 12 years ago • 1 comments

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.

hugoatease avatar Oct 22 '13 13:10 hugoatease

Any chance of adding a test for this?

spookylukey avatar Jan 03 '14 10:01 spookylukey