- Posts: 9
- Thank you received: 0
Membership Plan Recurring Subscriptions expiring.
- Sarah
- Topic Author
- Offline
- New Member
-
We have recurring monthly plans that are renewed each month via stripe automatically but they keep saying expired in Membership Pro after the second payment and so on. So each month I am having to go onto the subscriber and change his/her status to active.
Settings are as follows:
PLAN DETAIL
Subscription Length - 1 month
Expired Date - blank
Lifetime Membership? No
Enable Renewal No
RECURRING SETTINGS
Recurring Subscription Yes
Thanks for your help
Please Log in or Create an account to join the conversation.
- Tuan Pham Ngoc
- Away
- Administrator
-
I think the error happens because you haven't configured Stripe Webhook under your Stripe account yet
Please follow instructions at stripe.com/docs/webhooks/setup , set Webhook URL in Stripe to domain.com/index.php?option=com_osmember...ent_method=os_stripe (of course, domain.com must be replaced with your site URL)
After that, monitor the next renewal. It should work well
Tuan
Please Log in or Create an account to join the conversation.
- Chris Nitsopoulos
- Offline
- New Member
-
- Posts: 10
- Thank you received: 0
Is this also required for PayPal recurring payments?
Please Log in or Create an account to join the conversation.
- Tuan Pham Ngoc
- Away
- Administrator
-
It's mentioned in the payment plugin package:
3. If you use recurring subscription plans, you will need to login to your Stripe account, add a "Webhook URL" below:
domain.com/index.php?option=com_osmember...ent_method=os_stripe
(Of course, need to replace domain.com/ with your website url)
Stripe will also asks you for the event for webhook, just select invoice.payment_succeeded in this case
You do not need to do that for PayPal, just need this for Stripe
Tuan
Please Log in or Create an account to join the conversation.
- Chris Nitsopoulos
- Offline
- New Member
-
- Posts: 10
- Thank you received: 0
Please Log in or Create an account to join the conversation.
- Tuan Pham Ngoc
- Away
- Administrator
-
Please setup the webhook, then monitor the system and let us know if you need more help
Regards,
Tuan
Please Log in or Create an account to join the conversation.
- Chris Nitsopoulos
- Offline
- New Member
-
- Posts: 10
- Thank you received: 0
I am having issues with the webhook you posted above, they are all being ignored by Membership Pro even though Stripe reports a HTTP 200 code for that webhook url. The returned page though is a html page containing the joomla site default page.
Please Log in or Create an account to join the conversation.
- Chris Nitsopoulos
- Offline
- New Member
-
- Posts: 10
- Thank you received: 0
SELECT id FROM #__osmembership_subscribers WHERE subscription_id = 'sub_DNESqqaaEvRKM3' ORDER BY id LIMIT 1
Which when I run it manually it returns the first subscription for that user rather than the latest one. Should this have an ORDER BY id DESC to grab the latest subscription?
Please Log in or Create an account to join the conversation.
- Tuan Pham Ngoc
- Away
- Administrator
-
The code is correct. o need to change it to id DESC.
Is the subscription renewed/extended properly when payment happens?
Tuan
Please Log in or Create an account to join the conversation.
- Chris Nitsopoulos
- Offline
- New Member
-
- Posts: 10
- Thank you received: 0
It is not renewing/extending properly. I just checked the last 8 entries in the IPN log and none of them had been renewed.
I did get an email from the system to say there was an action however the email states the subscription was upgraded and the new expiry date doesn't change.
I will send you a support ticket with login details
Please Log in or Create an account to join the conversation.
Support
Documentation
Information
The Joomla! name and logo is used under a limited license granted by Open Source Matters the trademark holder in the United States and other countries.