#zach_api

1 messages ยท Page 1 of 1 (latest)

simple swallowBOT
#

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

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

tame timber
#

๐Ÿ‘‹
The customer needs to complete the Checkout Session first (by providing a payment method)

#

then you capture the funds from your backend.

hallow pond
#

Yes, but this is code running in my test suite, on stripe sandbox. How do I complete the checkout session from my test suite? Or attach a test card (like pm_card_visa)?

tame timber
#

You can open the Checkout Url and use one of the test cards (.e.g 4242)

hallow pond
#

I don't have access to a browser in my tests. Is it not possible to programmatically confirm a checkout session payment in test mode?

simple swallowBOT
still bison
#

It is not, no