#shimmmaz_api

1 messages ¡ Page 1 of 1 (latest)

strange cipherBOT
#

👋 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/1285355677606346764

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

grizzled socket
#

Hi there

#

Can you be more specific?

fervent jungle
#

I don't understand why some subscriptions allow for retrying payment (after it fails). And some subscriptions go into an incomplete, and then expire if the client doesn't suceed to pay within 23 hrs

#

hi and thank you for the help!

grizzled socket
#

Got it

#

This goes back to whether this is the Subscription's first Invoice or not

#

The smart retries/retry logic only applies to billing cycles after the first Invoice

fervent jungle
#

Oh I understand!

In the app we are building, we need to keep the subscription active even if the first payment fails, is that something I can configure somehow?

grizzled socket
#

Can you explain the logic for this?

#

If I extrapolate from this, this means that if you have any systems that check on Subscription status to determine whether a customer should get access to a certain service, they'll continue to get access even if payment has failed. Is this what you want?

fervent jungle
#

We give service even if the client doesn't pay, and want to keep the invoice open so that the client can resolve it within a few days - just like the smart retry feature

grizzled socket
#

I see, okay. In that case, I think your only option is to use a trial period, though this won't result in a multi-day open Invoice if that makes sense

fervent jungle
#

I see..

grizzled socket
#

You can have a trial period for X number of days for example, then the first non-zero invoice will be created and finalized automatically at the end of the trial period

#

At that point, the smart retries would apply if there are any payment failures with the payment details provided by the customer

fervent jungle
#

So wouldn't that result in a multi-day open invoice?

grizzled socket
#

It would but for the second invoice, not the first. The first invoice would be $0 and automatically paid

fervent jungle
#

I see

#

ok, thank you for this info!

#

Very helpful!

grizzled socket
#

Happy to help!