#Ioanna

1 messages · Page 1 of 1 (latest)

tepid lionBOT
gusty cedar
#

Hello! Nope, there's no way to display tax on the receipt in this scenario. Payment Intents do not have the concept of tax, they're low-level objects that only know about the total amount.

#

You would need to disable Stripe receipts and send your own custom receipts with the tax broken out.

fluid parrot
#

Ok can I somehow attach a taxable product to the payment intent?

What I want to avoid at all costs is basically have the user go through a checkout session for every one of their requests.

Is there a way to generate a checkout session that get's "completed" based on what happens to that payment intent (without any user interaction)?

gusty cedar
#

No to both questions, unfortunately. Payment Intents, being low-level objects, also do not have the concept of Products or Prices or anything like that. They only know about the total amount. There's also no way to generate an already-completed Checkout Session.

#

I really think your best bet is to generate your own custom emails with the information you want on your end.

#

But Invoices may not be a good fit for your use case.

fluid parrot
#

I don't mean an already completed checkout session I mean a checkout session that is non interactive with the user and "progresses" based on the payment intent

gusty cedar
#

Nope, that's not possible.

#

Checkout Sessions require customer interaction, they have to go through the Checkout page.

fluid parrot
#

Got it ok. Two more questions and I promise I give up, with invoices is there a way to generate them based on a payment intent after a transaction has taken place?

Do you provide an option to customise receipts?

gusty cedar
#

No, the way Invoices work is that the Invoice will actually generate a Payment Intent for you. You would create and work mostly with the Invoice, with the underlying Payment Intent being more of an implementation detail at that point.

#

We only provide limited receipt customization options, mostly to do with branding. You can't change the content of Stripe receipts.

fluid parrot
#

Got it ok thank you so much for your patience!

gusty cedar
#

Happy to help!