#mikeybelike_unexpected

1 messages ยท Page 1 of 1 (latest)

edgy dewBOT
#

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

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

obtuse quest
#

This is an example of the code:

$checkout_session = $stripe->checkout->sessions->create([
'customer_email' => auth()->user()->email,
'ui_mode' => 'embedded',
'line_items' => [
[...]
],
'mode' => 'payment',
'return_url' => $returnUrl . '?status=completed&session_id={CHECKOUT_SESSION_ID}',
'metadata' => [
'quantity' => $quantity,
],
], ['stripe_account' => $connectStripeAccountId]);

vagrant folio
#

Hello! What's the error message that you're seeing in the console?

obtuse quest
vagrant folio
#

Alright, did you include the Stripe account header also when initializing Stripe clientside?

obtuse quest
#

No.. not client side is that a requirement I didn't see a param for it?

#

ahh unless you mean in loadStripe

vagrant folio