#Fadi-PaymentIntent-invoice

1 messages ยท Page 1 of 1 (latest)

proud radish
#

Hello ๐Ÿ‘‹
Give me a moment to catch up here and I'll respond as soon as I can ๐Ÿ™‚

quasi flint
#

sure ๐Ÿ™‚

proud radish
#

It really depends on your integration really.

quasi flint
#

I mean what is the recommended way to do that?

#

Should I display invoices to customers? Or just do this with a payment intent and display a receipt?

#

what's the point of the invoice?

proud radish
#

That depends on your integration though. You don't necessarily need the invoice to charge a customer, correct?
PaymentIntents and Invoices are two separate concepts. Invoices use PaymentIntents underneath.

quasi flint
#

Okay one last question, there is the scenario where a customer backs out on paying, so in this case I have to do this:

1- If I'm using invoices, the next time the same customer wants to buy coins -> I have to fetch the old invoice and void it? will voiding the invoice deletes the invoice item? And then create a new invoice item and invoice.

2- If I'm using only paymentIntents, I would have to only Update the paymentIntent's amount and description and let them pay it, correct?

proud radish
#

that is correct, yes

quasi flint
#

So, maybe the PaymentIntent way is easier programmatically and logically. Right?

proud radish
#

Yup

#

but again depends on how you/your app needs it to work ๐Ÿ™‚

quasi flint
#

Thanks!