#callum-j_api

1 messages ¡ Page 1 of 1 (latest)

frosty cedarBOT
#

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

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

stoic tulip
#

here is the image

hearty tendon
#

Hi. that screenshot is not very helpful. Can you share your URL so I can attempt to reproduce this? Also, the issue might be that you're using a test 4242 card in production. You can't do that.

stoic tulip
#

in my local i am hitting the payment endpoint, however when i am on my dev site it doesnt even hit that.

hearty tendon
#

That is not coming from Stripe

#

You would need to debug your code on your end with Wordpress

stoic tulip
#

that is my local

#

ok thanks

#

at least i have narrowed it down some more

hearty tendon
#

There are a some errors like 'Cannot read properties of undefined (reading 'id')', 'Cannot read properties of undefined (reading 'data')' and 'Cannot read properties of null (reading 'success')' that you can hard code on your end to narrow it even further

#

You can also see what your logic is when you send this error 'Payment creation failed. Please Contact Support' and go from there