#alex_code
1 messages ยท Page 1 of 1 (latest)
๐ 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.
Are there specific errors being returned in the browser console?
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
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?
there are not really hooks
for this page
can you see the request url from request id
Looking at the account associated with the request, I can see there are no webhooks setup. I recommend listening for webhook events [0].
true, but for this project issue is that record payment method just never return
๐ฆ
I can't see the URL but I can see that you're using the split CardElement. Is this correct?
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
sure, send the link.
By DM, I mean you can send it here in the thread. Not to my DM. ๐
here you go
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)
Can you share your complete client side code for that checkout form
there is no client side code, all are in pay.js
one sec
view-source:https://www.iviju.com/assets/js/pay.js
this is it
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