#Uche-pay_immediately
1 messages · Page 1 of 1 (latest)
Hi! That's correct, if you are not using pay_immediately, then the first invoice should finalize immediately.
Ok. if a bad card is used, will it fail immediately as well? without needing to create the subscription and then cancel it?
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?
we use payment_behavior: "error_if_incomplete"
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.
is that the cardError?
What do you mean?
Stripe raises a cardError when it fails, i'm asking if that is the error you are referring to?
Yes exactly.