#jaysantana_unexpected

1 messages · Page 1 of 1 (latest)

compact sundialBOT
#

đź‘‹ Welcome to your new thread!

⏲️ We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question.

⏱️ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always start a new thread if you have another question.

đź”— This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1240458609192603648

📝 Have more to share? Add more details, code, screenshots, videos, etc. below.

carmine gate
#

Hi there, can you take a screen recording so that I can have better understanding of your question?

boreal wagon
#

So when I try to recreate this issue it’s not happening, after over nearly 100 payments it has not occurred for me even once. However when cusotmers call us to say there order hasn’t come yet and we ask them what happend this is what they tell us

#

Our confirmation page triggers the order to be sent to the pos

#

And it also triggers confirmation email

#

So what’s happening is when this unlimited loading is happening the customer presses refresh and then pays multiple times as payment before was taken

#

He just wasn’t aware

carmine gate
#

Do you have the checkout session ID?

boreal wagon
#

Yes would you like me to provide ?

carmine gate
#

Yes, the ID of the checkout session where your customer paid

boreal wagon
#

here is the payment initent - pi_3PGo7cGa2Ce523pJ0Mlo5Sqh

#

i would like to share a screenshot with you however i would not like to post it here due to GDPR and protection of senstive data

#

however it will help to explain

carmine gate
#

OK. Looks like you are not using Stripe Checkout integration, you are using PaymentIntent + PaymentElement.

#

Does your page create a new paymentIntent when your cusotmer refresh it?

boreal wagon
#

yes however we have a update tomorrow which will use the update api instead of making a new payment intent

#

however im not too sure would that solve it. if customer refreshes whilst on the spinning loading animation and the payment is succeful would it redirect to the payment confirmation page

carmine gate
boreal wagon
#

so lets say in this scenario

#

you are checking out

#

and then after entering payment details and pressing pay you are stuck on a loading screen

#

the payment has been taken however the redirect has not occured and you are still on the loading screen

#

and you decide to refresh the page

#

will you go back to the checkout which is whats happening now

#

or would you be redirected to the confirmation page

carmine gate
#

Your customer won't be able to pay multiple times as long as it's the same paymentIntent. If a PaymentIntent is already succeeded, the next payment attempt will fail

boreal wagon
#

ok thats good however we need them to go to the confirmation page

#

as thats what triggers the order to be sent to the pos

#

and also the confrimation email

#

is there any way to create a condition which if they refresh it will check payment intents status

#

if succeed it will go to confirmation page

carmine gate
compact sundialBOT
boreal wagon
#

thank you, i am a Stripe Growth Memeber

#

and was wondering if there is anyone available to assist my devs with this

warped kindle
#

If your developers have questions, we are happy to help with them in this discord channel

boreal wagon
#

hi river

#

what checkout process would you suggest for a online food ordering platform who process's large volumes of transaction ?

warped kindle
#

All payment integrations in Stripe supports processing large volumes of transactions

boreal wagon
#

we are currently using PaymentIntent + PaymentElement. with elements

warped kindle
#

The only differences between the integrations are just the UI differences that:

  • Checkout Session > Stripe hosted payment page
  • Payment Element > Payment form embedded in your website
#

The decision will be up to your business requirements about how you would like the customer checkout experiences to be like, i.e. making payment on Stripe hosted payment page or within your website

boreal wagon
#

does stripe offer a payment procesing screen after payment

#

?

warped kindle
#

What kind of payment processing screen are you referring to?

boreal wagon
#

something like this

warped kindle
#

Not for Payment Element. Your system should create the payment processing information while the payment is still in progress

boreal wagon
#

thank you for your help todau