#Austin_Truthifi

1 messages · Page 1 of 1 (latest)

humble caveBOT
outer nebula
#

Hi there

errant harness
#

Hello 🙂

outer nebula
#

Yes that is correct that it will always redirect unless you specify redirect: 'if_necessary' when creating your Payment Element

#

And the status will mostly depend on the Payment Method type

#

Like with card it would always be succeeded

#

With bank debits it would go to processing

#

With Bank-based redirects it depends since there is the intermediate step of the customer actually getting redirected to authorize first

errant harness
#

This makes sense! Thanks Bismarck.

These payments are for subscriptions. What would these various PI statuses correspond to in the subscription status?

outer nebula
#

Are these the initial payments for a Subscription?

errant harness
#

Correct!

outer nebula
#

Okay then the Subscription stays in a status of incomplete until the first payment is completed.

#

If that payment is an async payment (meaning the PaymentIntent would move to processing) then that would also move the Subscription to active

errant harness
#

I see, and then if the processing payment fails the subscription moves to payment_required or something like that?

outer nebula
#

The Subscription moves to past_due

#

And then it depends on your Subscription Settings that you set in your Dashboard for what happens next

errant harness
#

I see, that makes sense.

#

So, to make sure I'm clear. The return_url will usually be reached once the PI is either succeeded or processing and in some rare cases it might be requires_payment_method or something else if the auth redirect didn't go through properly, right?

outer nebula
#

Yep that's correct

errant harness
#

Ok, perfect. Thanks for the help!

outer nebula
#

Sure!