Details
-
Type: Improvement
-
Status: Open
-
Priority: Minor
-
Resolution: Unresolved
-
Affects Version/s: 4.0.0
-
Fix Version/s: None
-
Component/s: Gateways
-
Labels:None
Description
Blesta includes a client's ID in the IPN URL so that PayPal Subscription payments are applied to the correct account. This caused an issue with users who imported from other systems, so we made a change whereby we search for a client based on the PayPal email address if a client ID is not provided.
The issue with that method, is that if the PayPal email address does not match the client's email address, Blesta is unable to apply payment.
Other systems store and reference the PayPal Subscription ID exclusively (PayPal field "subscr_id") for applying payments.
We should begin storing PayPal Subscription IDs and give them preference, ie in order:
- Subscription ID
- Client ID in IPN URL
- Email Address