Will Franco
Active member
For example, I signed up for an account on VRMB's forum. I get charged $45/mo for the subscription. If I cancel my subscription to the forum, will PayPal / Stripe stop charging the card on file?
The PP API was updated 10 years ago now. You can vote for XF to adopt it.Just to jump in as I have the same query - is this because PayPal doesn't support this via the IPN, or it just isn't supported by XF?
IPN doesn't support it.Just to jump in as I have the same query - is this because PayPal doesn't support this via the IPN, or it just isn't supported by XF?
What about stripe?By default, XF doesn’t support cancelling PayPal recurring payments.
Maybe that’s functionality they’ve added but either way your best bet is to just log in to PayPal and make sure it is cancelled there.
With Stripe, you can cancel the recurring payment on the XF side.
I might do a test and see. I'll report back.As I understand, it wouldn't immediately cancel the upgrade in either case. If you've paid for a month and cancel the subscription after 2 weeks, you'd still get your first month. Once the subscription is cancelled, no new IPN/webhook comes in to renew it, so it will expire. The difference between Stripe and PayPal is that XF can send the cancellation request to Stripe, but not to PayPal.
Yes this is the behavior that I would prefer. I'm glad it exists here as well.Makes sense because you're cancelling the recurring subscription, things like Netflix keep you active for the current billing period too.
Can you refer to places in the code where a paid recurring PayPal upgrade is detected cancelled? I have been looking for the past few days and couldn’t find any code that actually detects a cancelled subscription in PayPal.Looking through the code, Stripe does an API call to cancel the subscription but doesn't do anything with the actual purchased item, and the Cancel button for PayPal purchased upgrades links to https://www.paypal.com/cgi-bin/webscr?cmd=_manage-paylist. So the upgrade would expire via the cron that runs, and nothing would come in to re-activate it. Makes sense because you're cancelling the recurring subscription, things like Netflix keep you active for the current billing period too. I would imagine any payment email would come from the payment provider rather than XF.
It doesn’t explicitly check if it’s been cancelled - if the subscription has been cancelled in PayPal, it will stop sending IPN postbacks, so XF will just expire the upgrade as it hasn’t been extended.Can you refer to places in the code where a paid recurring PayPal upgrade is detected cancelled? I have been looking for the past few days and couldn’t find any code that actually detects a cancelled subscription in PayPal.
Thanks in advance.
Right... sorry, I should have said that. XenForo does not support canceling of PayPal subscriptions. However, if they were ever to implement use of the PayPal API, it could be done (even for existing subscriptions because the API used is tied to the PayPal account, not specific transactions that were setup with the API).It may be with a newer API, but I’m pretty sure the integration XF uses doesn’t support it.
We use essential cookies to make this site work, and optional cookies to enhance your experience.