#alex_code

1 messages ยท Page 1 of 1 (latest)

strange gulchBOT
#

๐Ÿ‘‹ 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/1337496672321671189

๐Ÿ“ Have more to share? Add more details, code, screenshots, videos, etc. below.

woeful grove
#

Are there specific errors being returned in the browser console?

quick minnow
#

nothing just hangs

#

and when go to dashboard no request there either

#

request just came in delayed -> req_PRH4rw0HEaunlM

#

but js still did not return

woeful grove
#

Let me take a look

#

Looking at the request, the Payment Method was successfully created. So this may be an issue with front end code. Do you have webhooks setup?

quick minnow
#

there are not really hooks

#

for this page

#

can you see the request url from request id

woeful grove
#

Looking at the account associated with the request, I can see there are no webhooks setup. I recommend listening for webhook events [0].

[0] https://docs.stripe.com/webhooks

quick minnow
#

true, but for this project issue is that record payment method just never return

#

๐Ÿ˜ฆ

woeful grove
#

I can't see the URL but I can see that you're using the split CardElement. Is this correct?

quick minnow
#

yup

#

the same exact code with two token prod vs test

#

is there place to white list domain or something

#

eze can I DM you the link

woeful grove
#

sure, send the link.

#

By DM, I mean you can send it here in the thread. Not to my DM. ๐Ÿ˜„

strange gulchBOT
quick minnow
#

here you go

lofty coral
#

Hi taking over here

#

You'll need to send us a test link

#

I can't submit a real payment

#

I tried the test card and I got a decline (as expected since this is live mode)

quick minnow
#

one sec let me change key to test

#

changed to test key

lofty coral
#

Can you share your complete client side code for that checkout form

quick minnow
#

there is no client side code, all are in pay.js

#

one sec

#

this is it

lofty coral
#

Ok looking in the network tab when i click the pay button, it looks like the call to your create-pay endpoint is redirecting/returning a 302

#

So it just hangs

#
                dataType: "json",
                url: BASE_URL + 'create-pay/',
                cache: false,
                contentType: 'multipart/form-data',
                data: {
#

too long to paste, but that call