#guzonja23
1 messages · Page 1 of 1 (latest)
There's no way to use our Coupons directly with a Payment Intent no. You'd just calculate the discount and apply it to the amount
Thanks for the response! If the coupon or discount covers 100% of the amount to be paid, that will throw the error because payment intent does not support amount of $0. Is it maybe better to use Invoice API in this case with invoice line items?
Correct you can't create an amount: 0 Payment Intent
We're working on support for this for Checkout, but Invoicing works too
Cool, thanks! What about Stripe Tax API in this case? Do I go for tax calculation via API in this case and attach that tax to each line item in the invoice via TaxRate for the calculated amount?
There's no need to do manual calculations if you're using Invoicing. Tax can be calculated automatically
The manual calculations API is only for Payment Intents
Cool. I'll look into it. Thank you for your time and help! I wish you a great day!