#work4inventions_api

1 messages · Page 1 of 1 (latest)

exotic masonBOT
#

đź‘‹ Welcome to your new thread!

⏲️ We'll be here soon! We typically respond in a few minutes, but in some cases we might need a bit more time (e.g., server's busy, you've got a complex question, etc.).

⏱️ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can 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/1257301658384207893

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

astral tulip
#

Well you can't get an status: 'active' subscription without a paid invoice. If you want past_due then you likely need a recurring payment to fail, it won't transition to that state for an initial payment AFAIK

distant field
#

how can I make status to past_due

astral tulip
#

You'll likely need the initial invoice payment to succeed to so that the sub is active, and then have the subsequent invoice payment fail which will trigger a transition to past_due

distant field
#

I need to move the subscription incomplete to past_due, then how does I make ?

#

is there any tricky way to make incomplete to active status on subscription.

#

In short, I need to move subscription incomplete to active or past_due. If this is not possible then is there any way to make subscription directly active status without a paid invoice

astral tulip
astral tulip
astral tulip
distant field
#

so I need to handle this situation on subscription

#

I don't need to move subscription status into expired status

astral tulip
#

It'll transition to incomplete_expired if the initial invoice is unpaid after 23 hours yes

distant field
#

if the customer's card is not complete payment then the subscription needs to move to past_due

#

in order to move to subscription on past_due we need active subscription.

#

so all these are connected to each other

astral tulip
distant field
#

ok, thanks

astral tulip
#

Not for the initial payment as I explained. past_due is a status for subsequent billing periods/payments:

Payment on the latest finalized invoice either failed or wasn’t attempted. The subscription continues to create invoices. Your subscription settings determine the subscription’s next state. If the invoice is still unpaid after all Smart Retries have been attempted, you can configure the subscription to move to canceled, unpaid, or leave it as past_due. To move the subscription to active, pay the most recent invoice before its due date.

distant field
#

but on incomplete status start retry won't work right

astral tulip
#

Correct, there's no automatic retries for initial payment

distant field
#

so I can't achieve this functionality right ?

astral tulip
#

You can't trigger past_due status for failed/incomplete payments on the initial subscrition invoice, no

distant field
#

ok, thanks for quick help