#anhle82 - payment intent

1 messages · Page 1 of 1 (latest)

glacial talon
#

Hi, how can we help?

hot dew
#

hi, I'm working on migrating card element to payment element.

With card element, I didn't have to have a payment intent before showing the card element form. The checkout process for new customer is below:

  • Show payment form
  • Submit order via ajax, create payment intent and return to front end
  • Update card element form with the return secret code and submit payment.

With payment element, I have to have a payment intent to have secret key to be able to show the payment element form. This will lead to lots of Incomplete Payment intent if my customers abandon cart

glacial talon
#

What is the ask here?

hot dew
#

the question is here, is this possible to delete Incomplete Payment Intent or cancel is the only option?

glacial talon
hot dew
#

I'm concerned that the Dashboard Payments list will have lots of Incomplete Payment if new customer never go through with the checkout process

glacial talon
#

Yes, that could be confusing so you could run a cron job to cancel these payment intents.