#codeninja
1 messages · Page 1 of 1 (latest)
Can you share the subscription ID (sub_xxx)?
Sure here is the subscription ID
sub_1Mk2Vl47ycg1wTI7bsUtqdVm
Thanks for prompt response btw
- Subscription was created and with current_period_start at 1678441517 (2023-03-11 09:45:17 UTC) and current_period_end at 1678527917 (2023-03-11 09:45:17 UTC) in https://dashboard.stripe.com/test/logs/req_hxjchy4YFwyISu, i.e. The first invoice is from 2023-03-11 09:45:17 UTC to 2023-03-11 09:45:17 UTC
- Since the subscription was set to cancel at 1678579200 (2023-03-12 00:00:00 UTC), the second invoice was prorated for the usage from 2023-03-11 09:45:17 UTC to 2023-03-12 00:00:00 UTC. Second invoice wasn't a 24 hour usage, so no full amount will be deducted
Sorry but it didnt make sense,
The first invoice is from 2023-03-11 09:45:17 UTC to 2023-03-11 09:45:17 UTC
I think it starts 03-11 to 03-12
Sorry! Typo: The first invoice:
- current_period_start: 1678441517 (2023-03-10 09:45:17 UTC)
- current_period_end: 1678527917 (2023-03-11 09:45:17 UTC)
Okie no worries
So for the second invoice
was prorated for the usage from 2023-03-11 09:45:17 UTC to 2023-03-12 00:00:00
If it was ended 2023-03-12 09:45:17 UTC it wont get prorata right and will receive full payment?
Yup!
Got it, thanks for the details will try to update that thanks again appreciate it. Thats it for now keep safe