#cy-cyril-dave_api

1 messages ยท Page 1 of 1 (latest)

upbeat peakBOT
#

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

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

crimson trout
#

๐Ÿ‘‹ happy to help

#

are you looking for an invoice? or a receipt?

solemn delta
#

yes sir using payment intent api

crimson trout
#

you didn't answer my question though

#

do you need an invoice or a receipt?

solemn delta
#

can I get both?

#

I have used checkout/sessions before and I got the url for the invoice

#

But now I am using payment intent to get the url

crimson trout
#

that's possible with Checkout Sessions correct

#

but PaymentIntents don't generate Invoices

#

you have to create an Invoice instead

solemn delta
#

I create invoice first?

#

can you show me the documentation for this?

crimson trout
solemn delta
#

so I can now create payment intent with the invoice id attached?

crimson trout
#

yes you start by creating the invoice