#Michael Frost - EPS, Klarna payment intents
1 messages ยท Page 1 of 1 (latest)
Hello, happy to help. Can you tell me a bit more about what is happening and what you need advice on?
Hi!
I'm working on the checkout process of a platform that allows connected accounts to sell tickets for events.
When a customer adds a ticket to his cart I update the payment intent from the backend.
On the payment page we use the "Stripe Elements" in our NextJS frontend.
Gotcha. So you you create and update the intent, the customer starts their checkout, then they go back and decide to change their cart again?
Are you getting an error when you try to update the payment intent again?
So when the customer selects a payment method and is redirected to EPS or Klarna and opens our ticket shop in 2nd tab his cart is still visible because of the session. Now the customer can add more tickets and we update the payment intent again.
What happens when the customer then goes back to the first tab/window and comletes his pyament on the Klarna or EPS page?
Sorry for the delay, I missed hitting enter.
Hello ๐
Give me a moment to catch up here and I'll respond as soon as I can ๐ Thanks
Hi! Great, thanks!
Not sure I completely understand your flow but shouldn't your app prevent customers from adding more tickets to the payment intent if you've already initiated the payment?
Ok, that would make sense. What do you mean with "if you've already initiated the payment"? Do you mean if a payment intent has been created?
Sorry, what I meant was if they've already been redirected to Klarna or EPS page
How would I detect that?
You could disable elements on your page when user gets redirected to Klarna or EPS