#Paul Han

1 messages · Page 1 of 1 (latest)

sage ventureBOT
weak hemlock
#

Invoices are built on top of payment intents, so if you need an invoice, just use Invoices instead

#

You can still use the underlying payment intent to collect payment details if you'd rather do it that way

gentle relic
#

I'm creating the PaymentIntent via code, the link above seems to be via receiving the payment method first. I'm attaching the user's existing payment method to the PaymentIntent to charge them right away/automatically

weak hemlock
#

I'm creating the PaymentIntent via code, the link above seems to be via receiving the payment method first. I'm attaching the user's existing payment method to the PaymentIntent to charge them right away/automatically
This doesn't matter. As long as receipt_email is set you're fine

#

If all you need an invoice for is the receipt, there's no point in using Invoices really since you can get receipts with payment intents

#

But if you would like an invoice, then yeah you can use them

gentle relic
#

Does it not send the email in test mode? I added that field but I never got an email

weak hemlock
#

Yeah we don't send emails in test mode

#

Called out in that doc

#

You can manually send them via the dashboard if you want to see what they look like though

gentle relic
#

Thank you, that is helpful. Is there a way to set a specific amount with invoices?

#

When creating an invoice that is

weak hemlock
gentle relic
#

ah i see.... thank you very much!