#dragonlord_api

1 messages ¡ Page 1 of 1 (latest)

fresh cradleBOT
#

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

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

uncut condor
zinc heart
uncut condor
#

okay will try that and if I have any issues I will open another ticket thank you for this

#

\Stripe\Checkout\Session::create([

can I add invoice metadata in this call?

zinc heart
#

Note that only works for one-time payments. For subscriptions there isn't a way to do it from the Checkout Session so you need to listen to webhook events and copy over metadata via API calls

uncut condor
zinc heart
#

For dollar currencies, our amounts are in cents, so you would provide 2000

uncut condor
#

thank you

fresh cradleBOT
uncut condor
#

Are $stripe->invoices->search([ always sorted in desceding order?

#

by time the invoices that were created

#

Hello is it possible to expand payment_intent for this call ?$stripe->invoices->search([

broken haven
#

Hi, jumping in for my colleague.

#

All list endpoints are most recent first.

uncut condor
#

perfect

#

that's all I figured out the payment_intent question