#giriraj3215

1 messages ยท Page 1 of 1 (latest)

finite ingotBOT
#

Hello! We'll be with you shortly. Below are links to other discussions we've had with you in the past week in case you want to review that information. If your question is related to one of these previous discussions, please provide a comprehensive summary of the current state and what you need help with now. We help many users simultaneously, so a summary allows us to resolve your issue as soon as possible.

solid kindle
#

hi! what does a "paid amount invoice" mean, could you explain an example of what you'd like to see?

forest nacelle
#

eg. my user is adding a topup balance in my website like 25 dollars and then after some days he adds more 50 dollars.

I use payment intent for this https://stripe.com/docs/api/payment_intents

now i want to give user the invoice pdfs for this 25 and 50 dollars.

The product i have in stripe is Standard product price type is Customer chooses price.

solid kindle
#

well it's not really possible, raw PaymentIntents are not Invoices and do not generate Invoice objects that have PDFs.

forest nacelle
#

so what should i use for this use case

solid kindle
forest nacelle
#

and my topup price is custom. like $25, $50 or etc...

solid kindle
#

well you could I suppose, but you said you are using PaymentIntents and not Checkout.

#

but that is an option as well yes, you could use Checkout with the Invoice creation feature, yes ๐Ÿ™‚

forest nacelle
#

ok let me check

#

i have no price id then. should i go ahead using amount?

solid kindle
#

sure

forest nacelle
#

ok let me try

finite ingotBOT
forest nacelle
#

how? can you show me?

cosmic flume
#

Hi! I'm taking over this thread.

#

you want to create a Checkout Session without using a Price ID?

forest nacelle
#

hello but where is amount paramer?

#

suppose i need to pay $20 or $25 or $50 then?

cosmic flume
#

I just shared the link of the parameter to set the amount