#oftysterista_api

1 messages ¡ Page 1 of 1 (latest)

tough lagoonBOT
#

👋 Welcome to your new thread!

⏲️ We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question.

⏱️ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always start a new thread if you have another question.

🔗 This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1402540433648652318

📝 Have more to share? Add more details, code, screenshots, videos, etc. below.

Below are links to other discussions we've had with you in the past week in case you want to review that information. If your question is related to one of these previous discussions, please provide a comprehensive summary of the current state and what you need help with now. We help many users simultaneously, so a summary allows us to resolve your issue as soon as possible.

atomic bay
#

hi there, give me awhile to check

strange tinsel
#

haii

#

okay

#

thanks

atomic bay
#

what do you mean by *start on September 1-30, *?

#

Do you have a subscription we can use as an example?

strange tinsel
#

okay let say we have a subsctiption

#

the subscription period is monthly

#

from 1 aug - 31 aug

#

the when the time for payment, the attempt is failed

#

let say the user try to pay again

#

and success at 5 september

#

So, when does the subscription period start? Does it start on September 1st?

atomic bay
#

The subscription starts the day it is created

#

So if you create the subscription on 1 Aug, it will start on 1 Aug

strange tinsel
#

i know it start on 1 Aug. my question is on the next period

atomic bay
#

the subscription would be expired by then because there's no initial payment

atomic bay
strange tinsel
#

wait let me read

strange tinsel
#

it is possible

#

the first period is running from 1- 31 aug

#

the on the 1 sep the payment card is failed

#

i set the susbcription to leave it past due if the payment failed so anytime the user succedd the payment, the subscription will be active

#

my question is i the payment is success is 5 sep, so the period will be start on 5 sep or keep from 1 sep?

atomic bay
#

Do you have an subscription example exhibiting this behaviour?

strange tinsel
#

let me create it for u

#

sub_1Rt0nsKxUzgEvuWh9blnKtiY

#

that's the example

#

using test clock

atomic bay
#

This subscription isn't reflecting the scenario you're describing isn't it? This subscription already have previous payments that started from Sep 29 - Oct 6, 2041, and it is running on a weekly product. It doesn't charge monthly.

strange tinsel
#

previously i said onthly is just for easier

#

the case is

#

lookat the subscription

#

the status is past due

#

it should be paid on 20 oct 2041 right?

#

and current time is October 22, 2041

atomic bay
#

sub_1Rt0nsKxUzgEvuWh9blnKti is in past due because it is already in the process of collection recurring payment. With your original question, we were talking about a subscription first payment. The first payment to a subscription is not the same as recurring payments.

Also, payment was attempted on Oct 20, 2041, 3:03 PM on sub_1Rt0nsKxUzgEvuWh9blnKtiY, and you can verify by looking at the subscription's latest invoice: in_1Rt1UaKxUzgEvuWhltGudcYK that is created at this exact time.

strange tinsel
#

I never said about the first payment

#

i am asking about the next period payment

#

which is recurring payment

#

so i repeat my question with that subscription example

#

the recurring payment should be 20 oct 2041. and it failed.
and current time is October 22, 2041. what happend if i complete the payment now

#

is the period start from 22 oct or 20 oct?

atomic bay
#

20 Oct

#

The subscription doesn't start when the payment is successful. It starts when it gets created, and the current billing cycle for sub_1Rt0nsKxUzgEvuWh9blnKtiY is Oct 20 - Oct 27, 2041

strange tinsel
#

okay

#

is that possible to start it at when the payment is successful?

atomic bay
#

no

strange tinsel
#

so we cannot change it?

#

there is no option for that?

atomic bay
#

The only way you can control when a subscription "starts" is if you schedule the subscription to start in the future when you first create the subscription