#Uche-pay_immediately

1 messages · Page 1 of 1 (latest)

unkempt quartz
#

Hi! That's correct, if you are not using pay_immediately, then the first invoice should finalize immediately.

acoustic quartz
#

Ok. if a bad card is used, will it fail immediately as well? without needing to create the subscription and then cancel it?

unkempt quartz
#

Can you give me more details on how you are creating subscriptions now? Are you creating a subscription with payment_behavior: "default_incomplete" and then you collect payment information to pay the first invoice? Or do you do things differently?

acoustic quartz
#

we use payment_behavior: "error_if_incomplete"

unkempt quartz
#

In that case, if the customer's card is declined, you will get an error when you try to create the subscription, and no subscription will be created.

acoustic quartz
#

is that the cardError?

unkempt quartz
#

What do you mean?

acoustic quartz
#

Stripe raises a cardError when it fails, i'm asking if that is the error you are referring to?

unkempt quartz
#

Yes exactly.