#king-carol_api

1 messages ยท Page 1 of 1 (latest)

inner relicBOT
#

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

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

bold crane
#

Do you have an example payment ID (pi_xxx) where you expected an invoice?

misty ravine
#

wow, you are fast. i should avoid providing identifiable data in this chat, right?

bold crane
#

An object ID like pi_xxx is fine but yes no PII

misty ravine
#

pi_3R3vC8HEYaQTKFK51xe745dJ

bold crane
#

(the server is public)

#

Looks like you/your plugin is using the Payment Intents API directly. There's no way to create payment invoices with that API

#

You'd either need to use Checkout, or Invoicing directly

misty ravine
#

What does that mean in my case?

bold crane
#

Whatever code you wrote/plugin you're using needs to use different Stripe APIs if you want an invoice

misty ravine
#

Ok

#

I will check it out with the platform then

bold crane
misty ravine
#

Thank you!

#

But if Stripe has the transactions recorded, why can't it just generate invoices? ๐Ÿ˜„

bold crane
#

Because Payment Intents don't support ancillary data that are needed for invoices, namely line items, etc

#

As I said, we have APIs that support invoices but a direct Payment Intents is not one of them