#lokis

1 messages · Page 1 of 1 (latest)

shell hillBOT
hoary pebble
#

Can you share the payment intent ID (pi_xxx)?

mossy kelp
#

we use setup intents as we don't want to charge the customer immediately (there's a trial period)

#

setup intent id - seti_1NDd83EvsnToZee1Kma8SVN1

hoary pebble
#

Thanks for sharing! How do you know that the CVC is incorrect?

mossy kelp
#

I used my own card with an incorrect CVC number

#

setup intent id for the testing done in test-mode - "seti_1NDd5UEvsnToZee177GEab8Y". This correctly returned a "Your card's security code is incorrect." error.

hoary pebble
#

Thanks for sharing! This test card is configured in such a way that it will always return incorrect_cvc error, so that you can test how your code handles such a scenario.

In live mode, not all the cards will perform validation with the card issuer to perform cvc validations

mossy kelp
#

Thanks. Are there specific cards that do this validation? We are facing issues where a customer is provisioned access to our product even if they enter an incorrect cvc or don't have sufficient funds in their account. Access is then cancelled after a day when the invoicing fails. any ideas on how this can be handled would be much appreciated.

hoary pebble
#

The one you shared was Setup Intent that didn't charge to the customer. Could you share how you handle the provisions with Setup Intent alone? Error such as insufficient card will only occur when you attempt to charge customer with Payment Intent, but not Setup Intent

mossy kelp
#

Sure, once the customer's card details are saved to their Stripe account using the confirmCardSetup API call, a subscription is created in Stripe using the Setup Intent ID. We then use RevenueCat to provision access.

#

After the 7-day trial period ends, the customer is charged the amount.

hoary pebble
#

I see! Setup Intent is used to save a payment method. Balance in customer's account can change over time. Checking sufficient funds will only be performed when you attempt to make a charge.

mossy kelp
#

Ok, thanks. Re CVC - does this validation happen with a setup intent?

hoary pebble
#

For CVC validation, it is only needed when necessary and doesn't happen all the time

mossy kelp
#

I see. Are there specific conditions when this does happen?

hoary pebble
#

I'm not sure either. I'd recommend reaching out to Support to have a check: https://support.stripe.com/contact

mossy kelp
#

Sure, thanks for your help 🙂