XF 2.3 Did I just break all of our legacy paypal recurring subscriptions?

kontrabass

Well-known member
After upgrading to XF 2.3, I added the new PayPal payment profile, and set all of our existing subscriptions to use it. We started getting server errors related to the old legacy paypal profile. On the PayPal (Legacy) payment provider settings, it said to delete that payment profile and use the new. I did delete it, but now it seems that all of our legacy recurring subscriptions are not being updated in any way (nothing in the payment provider log, user accounts are not touched).

Not sure what to do here. We have quite a large number of legacy recurring subscriptions..
 
So, I added back the PayPal (Legacy) profile, turned back on PayPal IPN, and my legacy subscriptions are now upgrading as they should.

But I'm getting the error

ErrorException: [E_WARNING] Undefined array key "alternate_accounts" src/XF/Payment/PayPal.php:386

on every new paypal subscription (using the new PayPal payment profile). In PayPal IPN history, any new subscriptions have failed IPN calls (of course) with "retrying" status.

Am I supposed to leave IPN enabled at PayPal, but delete the PayPal (Legacy) payment profile on Xenforo?
 
I took this https://xenforo.com/community/threads/introducing-stripe-checkout-paypals-rest-api-and-more.220349/ to mean best to leave existing upgrades as they are but only use the new PayPal for new upgrades. Do you could leave existing upgrades as they are, or retire them (ie not delete just disable for purchasing) and then create new upgrades with the new PayPal.

Thanks. Yes, that's what we're doing now. All user upgrades are set to use the new paypal (and stripe as 2nd option). The legacy payment profile is still in our payment profile list, but no subs use it.

But, our server error log is filled with:

Screenshot 2025-03-10 at 5.10.35 PM.webp
... mostly because PayPal keeps retrying the IPN calls.
 
Back
Top Bottom