#ml74_code

1 messages ¡ Page 1 of 1 (latest)

rancid sigilBOT
#

👋 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/1396809393105932388

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

grim kite
#

hi there!

#

how are you accepting payments? Checkout Session, Payment Element, something else?

sick furnace
#

Hello, using Payment Element

grim kite
#

and does this error impact the payment flow?

sick furnace
#

Yes, we call stripe.createConfirmationToken() then send that to our server to process the payment, but we seem to be hitting this issue now at some point between calling createConfirmationToken and the fetch call to our own server

grim kite
#

but we seem to be hitting this issue now at some point between calling createConfirmationToken and the fetch call to our own server
so the payment doesn't go though because of this error? are you using iframes to embed the Payment Element?

sick furnace
#

The payment fails - the request to our API is never triggered. We don't use iframes at all, which is why this is so odd.

rancid sigilBOT
flint marten
#

would you mind sharing the website where you're facing this issue?

sick furnace
#

It's this demo event: X

flint marten
#

ok how to get to checkout?

sick furnace
#

Just select any amount of tickets and proceed

flint marten
#

I did select 1

#

but nothing happens

sick furnace
#

You should get a button along the bottom?

flint marten
#

I don't see the Pay securely

#

oh it's under the cookies

#

and it's a cors issue

#

so you need to allow inbound HTTP requests with glistrr.com domain from your server at boris.glistrr.com

sick furnace
#

I believe it's set to * already on boris.glistrr.com since we have widgets hitting that endpoint from various domains

#

I just found it odd that it wasn't triggering the request at all in the browser (or at least logging it)

#

So I thought the issue was coming from the step before

flint marten
#
    at sendPaymentRequest (59253?guid=7ztV3AZRrKCyZY7_1753100246.1578:1681:28)
    at sendPaymentRequest (59253?guid=7ztV3AZRrKCyZY7_1753100246.1578:1716:24)```
#

this isn't Stripe related though

#

you need to look at your server logs

sick furnace
#

Ok, I'll dig further here. Thank you!

flint marten
#

let me know if you need any more help