#shpatak
1 messages · Page 1 of 1 (latest)
When user Clicks pay in my application, I generate new PaymentIntent:
let's say he fills only card information and then closes the application
then he opens the application again and Clicks the pay button again
Is there a way to show him the information he filled before?
Right now, I am saving the PaymentIntent Id in database, and when user clicks second time - I am passing that very PaymentIntentId instead of creating new one (only ephemeralKey.secret is created each time )
Hi, jus confirming that you're asking if the card information collected can be saved so when the customer comes bask, it displays what they've already filled out?
exactly
No there is not a way to save this information like you described.
Okay
Is there advantage of saving the PaymentIntent in database and put it each time user tries to create the same payment intent or should I create new one each time?
I recommend that you just the one already created so it does not overwhelm you a ton of object ids.