#ohmamamind_code

1 messages ¡ Page 1 of 1 (latest)

high waspBOT
#

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

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

serene tiger
#

What is the error are you facing? The code you shared only sends a request from your frontend to your own server, but there is no Stripe related code involved

jade fjord
#

https://docs.stripe.com/payments
I am referencing an example from this website. I want to change it to fit my own style, but I cannot send the body. In the create-payment-intent file, I tried to send the product price, but I couldn't succeed.

Find a guide to integrate Stripe's payments APIs.

serene tiger
#

This channel is for Stripe integration questions, i.e. writing code using Stripe API and troubleshooting issue error thrown from Stripe's libraries or API.

For request made from your frontend to your server, you should figure out how to do that since we don't have visibility how your system works.

jade fjord
#

Okay, do you have any recommended documentation that's better for getting started?

serene tiger
jade fjord
#

When using the example in the Stripe docs, I didn't have any issues with fetch, but when I tried to change the body data from the provided example to a product ID, it seemed to cause problems.