#susanp - checkout discounts
1 messages ยท Page 1 of 1 (latest)
Hello! Just starting a thread for you -- I'll review and respond as soon as I can ๐
thanks, no rush, about to leave for a meeting anyway ๐
1/ No! You can create a reusable promotion code that you can let customers enter, or you can provide it yourself when creating the session
https://stripe.com/docs/api/promotion_codes/create#create_promotion_code-coupon
https://stripe.com/docs/api/checkout/sessions/create#create_checkout_session-discounts-promotion_code
(You can also provide the coupon here, if you want to just use that)
2/ You can either use Stripe Tax to have this calculated automatically (if it supports the region you need covered) or provide manual Tax Rates, so you should read here to decide and see the to approached: https://stripe.com/docs/payments/checkout/taxes
3/ That's up to you, but sounds like a good idea ๐
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
You stated: " Can I just send a dollar amount for tax when I already know the amount, rather than a rate? I'd like to NOT have stripe recalculate the dollar amount of the sales tax, if possible. Thanks for your help so far, much appreciated!"
So with tax rates you can create fixed tax rates and apply them.
Ah wait
You are saying you don't want to handle percentages
And just pass a dollar amount
If that's the case then you would need to adjust the amount of your line item(s).
No way to pass a set $ amount as a tax_rate
You would have to use a percentage with tax_rate