#melchncookie - payment intent

1 messages · Page 1 of 1 (latest)

vagrant hemlock
#

Are you confirming the payment intent on creation, or are you wondering if you will be able to confirm it later after the payment method has been deleted?

brave vector
#

Confirm later, the steps seem to be

  1. create payment intent with default payment method's id
  2. user deletes this payment method
  3. we try to charge this payment intent
vagrant hemlock
#

Gotcha. No attempting to charge the payment intent in this scenario will create an error

brave vector
#

thank you 🙌

#

One more question, if we keep the payment method on their account just not as their default card, should it work?

I am thinking yes because the payment intent would be created with that payment id

vagrant hemlock
#

Are you saying will it work if you delete the card?

#

Again you can test all these scenarios in test mode

#

But you can always create a payment intent and charge a customer's payment method even if it's not their default one