#roshe10_webhooks

1 messages ¡ Page 1 of 1 (latest)

velvet heronBOT
#

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

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

keen cairn
devout ember
#

so if I understood, i need to pass connected id to stripe.invocieParams as well

inv, err := invoice.Get(paymentIntent.Invoice.ID, nil)
if err != nil {
return nil, err
}

#

also, can you tell me how this work fine locally ? example of the local succesful event

evt_3QRYX8BRXZXYRgX30DmsWO9o

keen cairn
#

, i need to pass connected id to stripe.invocieParams as well
there should be an example in the docs showing how to use it

#

see SetStripeAccount

#

also, can you tell me how this work fine locally
that one is not using Connect, it's just directly on your account

devout ember
#

by which parameter you can determine that ? is that by looking at "application" parameter

keen cairn
#

it's not really parameters. It's not Connect because you didn't make the requests to create those PaymentIntents on a connected account, with the Stripe-Account header

devout ember
#

okay, thank you. I hope I got it