#gellert01_embedded-checkout

1 messages ยท Page 1 of 1 (latest)

obtuse pierBOT
#

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

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

vague bridgeBOT
empty kiln
#

Hi there ๐Ÿ‘‹ your error returning a 500 doesn't tell us very much, as the errors leading to that will be in your server logs that we don't have insight to. What errors do you see on your server?

night crow
#

hi the problem solved, my actual problem is my client secret is null

empty kiln
#

Awesome, glad to hear you were able to get to the bottom of it!

night crow
#

thanks

#

can you help me maybe in the new problem?

empty kiln
#

I can try, what's the problem?

night crow
#

first time i begin with a simple question: with test keys is the API works?

empty kiln
#

Yes. Test keys are designed to work with our API. They let you create objects in testmode rather than in livemode.

night crow
#

so i create a checkout session via 'clientSecret'
and the response is null

empty kiln
night crow
#

yes, i want an embedded session

#

but its null

empty kiln
#

You need to set ui_mode to embedded then in your session creation request.

#

I believe you also need to swap the return_url and success_url parameters for a return_url.

obtuse pierBOT
#

gellert01_embedded-checkout

night crow
#

thats works thank you for the help