Recurring Billing Auto Charge

  • George Botelho
  • Topic Author
  • Offline
  • New Member
  • New Member
More
6 years 1 month ago #123545 by George Botelho
Recurring Billing Auto Charge was created by George Botelho
Hi,

can someone guide me how do i make so that Membership Pro automatically bills and charges credit card for next certain renewals by using authorize.net to subscribers.

Thank you,

Please Log in or Create an account to join the conversation.

More
6 years 1 month ago #123549 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Recurring Billing Auto Charge
Hello George

In short, you just need to create a recurring subscription plan. For example:

- Price: 100
- Subscription Length: 1 Month
- Recurring Subscription: Yes

When you setup a plan like that, subscribers will be charged automatically every month, each month 100$

Please try to setup it and let us know if you need more help

Regards,

Tuan

Please Log in or Create an account to join the conversation.

More
6 years 1 month ago - 6 years 1 month ago #123552 by Bharat Patel
Replied by Bharat Patel on topic Recurring Billing Auto Charge
That's useful, I'm working on the same thing.
What I want to do is have a 12 month auto-renewing contract, payable on a monthly basis, and renews for another 12 months unless cancelled. Similar to most SAAS models.

A couple of issues arise:-
1. How do I then set up a reminder that should only go out just before the 12 months expire?
2. How do I allow cancellation BUT still collect payments until end of contract period

Workaround for No.1 would be to use AcyMailing to trigger
For No.2 I am guessing this might have to be dealt with outside the system (i.e. manually)

Bharat
Last edit: 6 years 1 month ago by Bharat Patel. Reason: error in text

Please Log in or Create an account to join the conversation.

More
6 years 1 month ago #123557 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Recurring Billing Auto Charge
Hello

For that, you need to setup a recurring subscription plan with the following information:

- Subscription Length: 1 Month
- Recurring Subscription: Yes
- Price: Price you want users to pay every month
- Number payments: 12

(So there will be 12 payments, and after that, no automatic payment will happen. It will stop and users will have to subscribe/renew again)

For other requests, it's not supported by the system, so somehow, you will need to handle it outside the system, sorry

Tuan

Please Log in or Create an account to join the conversation.

More
6 years 1 month ago #123558 by Bharat Patel
Replied by Bharat Patel on topic Recurring Billing Auto Charge
Thanks I appreciate that.
So I assume that leaving the Number of Payments: 0 will mean it keeps collecting until user cancels, right?

Please Log in or Create an account to join the conversation.

More
6 years 1 month ago #123559 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Recurring Billing Auto Charge
Yes, that's correct

Tuan

Please Log in or Create an account to join the conversation.

More
6 years 1 month ago #123958 by Bharat Patel
Replied by Bharat Patel on topic Recurring Billing Auto Charge
Hi Tuan,
I set up a test account with Stripe as follows:-
- Subscription Length: 1 Day
- Recurring Subscription: Yes
- Price: £XXX
- Number payments: 0

Stripe is in Sandbox mode
Instead of an auto renewal, on the next day, the status is reset as Expired and user has to process the card payment again.

1. Is this because it is in Sandbox mode, or setup issue
2. If the payment failed in Sandbox, I expected a "Payment Failed" not Expired, I'm not sure how the system flags that up

Please Log in or Create an account to join the conversation.

More
6 years 1 month ago #123959 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Recurring Billing Auto Charge
Hello

There are two things you need to check:

1. You need to configure Stripe Webhook in your Stripe account to this URL:

domain.com/index.php?option=com_osmember...ent_method=os_stripe

(Of course, need to replace domain.com/ with your website url)

See stripe.com/docs/webhooks/setup#add-endpoint-dashboard to know how to configure webhook URL

2. Also, you should check and make sure Stripe processed payment. Usually, Stripe only process payment at certain time of the day (that's true for all payment gateways), so it won't be exactly 24 hours after your subscribed. You should wait for few more hours for example to check it

3. Make sure your site is public accessible (for example, not on localhost or not in offline mode) so that Stripe can reach your site to notify the system about payment

4. If no payment is processed, users will be expired. We don't mark the status as Payment Failed or something like that in this case

Tuan

Please Log in or Create an account to join the conversation.

More
6 years 1 month ago #124070 by Bharat Patel
Replied by Bharat Patel on topic Recurring Billing Auto Charge
My settings were all ok.
The problem seems to be the Stripe Sandbox mode, I switched to live mode and everything works. Maybe it doesn't accept the renewal credentials in sandbox mode.

Hopefully the renew option with Number of payments = 0 will also work as expected, I'll leav it on for a few days to test

Thanks,
Bharat

Please Log in or Create an account to join the conversation.

More
6 years 1 month ago #124083 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Recurring Billing Auto Charge
Hello Bharat

OK, please monitor it and let us know if you need assist

Regards,

Tuan

Please Log in or Create an account to join the conversation.