#HyatMyat
1 messages · Page 1 of 1 (latest)
Hello there
Sounds like you want to build the service charge in as a line item instead of using a tax rate for it
So then your tax applies to the service charge
Yes How can i make , Currently 300 * Tax 7% = 21 But it Should be 330 * Tax 7% = 23.1
You add the $30 as a line item using price_data: https://stripe.com/docs/api/checkout/sessions/create#create_checkout_session-line_items-price_data
So basically you calculate 10% of the other line items when you are going to create the Checkout Session and then you add another line item that is equal to that amount.
Thanks Same ideal ❤️