#taysonvo

1 messages · Page 1 of 1 (latest)

ember trailBOT
unreal basalt
#

Yes this is the default behaviour, you only need to pay the most recent invoice to move subscription from past_due to active.

modest mason
#

@unreal basalt : The payment was trigger automatically is also the correct Stripe behavior ? thanks

unreal basalt
#

Share with me the subscription ID and let me take a look

modest mason
#

In this case subscription is not created yet, just some invoices created customer id: cus_NrAniEJffh1V4f

unreal basalt
#

I see, so your customer logged into the portal to manage invoice? Please share with me the invoice ID

modest mason
#

you mean all 3 invoices or just the Paid one ?

#

in_1N5SjPGBWZTCaGszo6UvuIBU this is the paid one

unreal basalt
#

The paid one

modest mason
#

Invoices were created via api (the flow is: If the auto payment invoice created and payment was process successfully, I will call another api to create Subscription )

#

in this case payment was failed but customer try to submit 3 times

#

that is why 3 invoices were created

#

Just wanna confirm if "the payment will automatically resume for the 1st invoice after customer update default payment method" is correct stripe behavior or not, thanks

unreal basalt
modest mason
#

yep, I think so...but it not trigger from my code

unreal basalt
#

So to answer your question, attaching a payment method to a customer won't automatically pay an open invoice. That invoice was paid in a separate request triggered by customer when they are in the billing portal.

modest mason
#

Thank for your confirmation