#ptman
1 messages · Page 1 of 1 (latest)
Hi 👋 can you elaborate on what you mean when you say the Payment Element is getting called twice? Is your frontend code trying to create/render multiple Payment Elements?
and const { error } = await stripe.confirmPayment({ elements, confirmParams: { // Make sure to change this to your payment completion page return_url: "http://localhost:4242/checkout.html", receipt_email: emailAddress, }, });
oh dear
thanks for being my rubber duck
somehow I've been staring at this for an hour and now I saw my mistake
typical
thank you and sorry
No need to apologize, I'm glad you were able to spot it!