#muhammad-Subscription

1 messages · Page 1 of 1 (latest)

pastel iris
#

Can you send me the request ID of the subscription update?

radiant zephyr
#

sub_1KTsnsBZMeE6vXTCbhtP5L3L

#

Here is the subscription ID

radiant zephyr
#

Hi Jack, thanks for your response. I would like to add that I am having invoices with 0 charge as well

pastel iris
#

Hi, these 0 charges are what you paid for the trials

#

Back to your original question, is your question related to the two 150 invoice on 29 Mar and 1 Apr?

radiant zephyr
#

I was expecting to have an invoice on 1 April after 1 March

#

but it was charged on 29th

#

what could be the cause of this irregularity.

pastel iris
#

Actually it does have an invoice on 1 April

#

But there's anther invoice on 29 Mar, did you update the susbcription in the middle of it?

radiant zephyr
#

Invoice on 1st of april was manually setup. However invoice on 29th wasn't setup

#

Plus subscription was never updated for payment on 29th Mar

pastel iris
#

Ok, sorry billing is complicated and I may need more time.

radiant zephyr
#

ok

pastel iris
#

Ok I figured it out, thanks for the waiting.

radiant zephyr
#

Thats great

pastel iris
#

So in this request (req_x8NIEu66iqdeIN) you set the trial_ends at 1646089200, which is Monday, 28 February 2022 23:00:00 UTC and which is 07:00 1 Mar 2022 your time.

#

That's why your are getting the invoice (in_1KYIChBZMeE6vXTCDrWjoIIi) on 1 Mar. However, Stripe use UTC as the standard timestamp, and that's why you get the invoice (in_1KiRahBZMeE6vXTCTbT3EILN) at 28 Mar 2022 23:00:00 UTC (29 Mar your local time) , which is one month after 28 February 2022 23:00:00 UTC

radiant zephyr
#

If a month doesn’t have the anchor day, the subscription will be billed on the last day of the month. For example, a subscription starting on January 31 bills on February 28 (or February 29 in a leap year), then March 31, April 30, and so on.

#

According to this documentation shouldn't my next invoice be charged on UTC 31, March rather than **28 Mar 2022 23:00:00 UTC **

pastel iris
#

No, it's not the case, that happens if your subscription starts on 31st day of the month, but yours started on 28th.

radiant zephyr
#

What you are implying is that after 30 days next invoice is to be paid.

pastel iris
#

In your case, it's 28th day of the next month.

#

What the doc says is that if your subscription starts on the 31st day of the month, the next invoice will be generated on the last day of the next month because there's on 31st in the next month.

radiant zephyr
#

but what if i want my invoices to be generated at the end of the month or 1'st of next month.

radiant zephyr
pastel iris
#

If you have customers acorss the globe, I won't really recommend the last day or 1st day due to the timezone difference.

The 2nd day onwards will be safe.

radiant zephyr
#

Thats a good idea!

Do I need to set the next invoice date for every next invoice or is there a way to automate it so that I set it on the subscription creation and afterwords all my invoices are generated for the second of the next month?