Reply
Highlighted
Contributor
Posts: 24
Registered: ‎04-30-2010
Accepted Solution

How can I get next billing date in ARB subscription?

[ Edited ]

Hi,

    I am using ARB Authorized.net subscription. my subscription start_date is  01 Jan,2010. I know that ARB will automatically bill my amount on date 01 of every month. But for some reason i need to get my next billing date. For example : I have to update my subscription today (14 May,2010) and I want to get my next  billing date (which is 01 June,2010) from authorized.net. Can I get it from authorized.net or I have to get it manually from my site ?

 

 

Thanx

Subhash.


Accepted Solutions
Highlighted
Solution
Accepted by topic author subhash
‎08-21-2015 01:58 AM
Posts: 1,476
Topics: 33
Kudos: 34
Solutions: 126
Registered: ‎09-14-2009

Re: How can I get next billing date in ARB subscription?

You can't get it from Authnet but you don't need to. If you know the next billing date is the first of every month you can easily figure it out programmatically.


-------------------------------------------------------------------------------------------------------------------------------------------
John Conde :: Certified Authorize.Net Developer (Brainyminds) :: Official Authorize.Net Blogger

NEW! Handling Authorize.Net's Webhooks with PHP

Integrate Every Authorize.Net JSON API with One PHP Class (Sample code included)

Tutorials for integrating Authorize.Net with PHP: AIM, ARB, CIM, Silent Post
All About Authorize.Net's Silent Post

View solution in original post


All Replies
Highlighted
Solution
Accepted by topic author subhash
‎08-21-2015 01:58 AM
Posts: 1,476
Topics: 33
Kudos: 34
Solutions: 126
Registered: ‎09-14-2009

Re: How can I get next billing date in ARB subscription?

You can't get it from Authnet but you don't need to. If you know the next billing date is the first of every month you can easily figure it out programmatically.


-------------------------------------------------------------------------------------------------------------------------------------------
John Conde :: Certified Authorize.Net Developer (Brainyminds) :: Official Authorize.Net Blogger

NEW! Handling Authorize.Net's Webhooks with PHP

Integrate Every Authorize.Net JSON API with One PHP Class (Sample code included)

Tutorials for integrating Authorize.Net with PHP: AIM, ARB, CIM, Silent Post
All About Authorize.Net's Silent Post
Highlighted
Contributor
Posts: 15
Registered: ‎03-15-2011

Re: How can I get next billing date in ARB subscription?

what happens if you bill date is late in the month e.g July 31? WHat happens in Sept (only goes to 30)

Highlighted
Posts: 1,609
Topics: 15
Kudos: 201
Solutions: 121
Registered: ‎06-23-2011

Re: How can I get next billing date in ARB subscription?

Have your database store the next billing date and then increment it by one month when the callback says a payment came in.

Highlighted
Contributor
Posts: 15
Registered: ‎03-15-2011

Re: How can I get next billing date in ARB subscription?

I understand that, but does anyone know what the policy is from Authorize.net. If the subscription starts on Jan. 30 what happens in Feb? Does it get charged on March 2?

Highlighted
Posts: 1,609
Topics: 15
Kudos: 201
Solutions: 121
Registered: ‎06-23-2011

Re: How can I get next billing date in ARB subscription?

I'd be interested in finding that out as well. My client just has all subscriptions start on the first of the next month, that way there's no confusion.

Highlighted
Contributor
Posts: 12
Registered: ‎08-12-2011

Re: How can I get next billing date in ARB subscription?

[ Edited ]

If I understand correctly the "next billing date" for a "monthly" period is always calculated by adding the days of the current month to the latest billing date.

 

e.g.

1. 15.Jan

2. +31days = 15.Feb

3. +28/29days = 15.Mar

...

 

So a monthly billing happens always on the "X.th" of a month.

 

for February there will always be a little hickup

e.g.

1. 31.Jan (last of month)

2. +31days = 2./3.Mar (the hickup)

3. +28 days =  31.Mar (last of month)

... 

 

 

Highlighted
Posts: 1,609
Topics: 15
Kudos: 201
Solutions: 121
Registered: ‎06-23-2011

Re: How can I get next billing date in ARB subscription?

You could always use CIM and just program the billing yourself - that way you have more control over when the billing happens and can set it up any way you prefer.

Highlighted
All Star
Posts: 1,072
Registered: ‎08-17-2009

Re: How can I get next billing date in ARB subscription?

[ Edited ]

Hey guys,

If you set up a subscription to bill on daysthat don't exist in other months, like the 31st, then in those months without 31 days, the payment will run on the last day of the month, whatever that may be. So for instance, if you regularly bill on the 30th, then in February, the bill would run on the 28th.

Thanks,

Michelle
Developer Community Manager

Highlighted
Posts: 1,609
Topics: 15
Kudos: 201
Solutions: 121
Registered: ‎06-23-2011

Re: How can I get next billing date in ARB subscription?

That makes good logical sense, thanks.