#1_tap_elite
1 messages · Page 1 of 1 (latest)
You need to disable automatic tax, and apply your own tax rate https://stripe.com/docs/api/checkout/sessions/create#create_checkout_session-line_items-tax_rates
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
how can I add my own tax that was my question ?
how can I show on the right side
No, you don't sepcify tax_rate when creating product/price, you specify tax_rate when creating a checkout session
Check the API reference that I shared earlier.
yes iam looking into that one only
but i am searching for it
and not getting anything
regarding tax_rate
Click on the "tax rates"
not finding anything
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
thank you got it
one more thing
I want to show this amount on the description side dynamically like
if the user enters $2000 and if I charge 1.5%
then in the description, I want to show $2000 + $30 (convience tax) = $2060
how can I do that ?
No we don't have options to specify description on checkout page. A workaround that you can consider is to use custom_text https://stripe.com/docs/api/checkout/sessions/create#create_checkout_session-custom_text
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
okay got it can do like this if user selects credit card payment it will charge them lets suppose user enter $2000 and if he want to pay from credit card then it will charge him $2060 or if he selects bank transfer then it will charge him $2015 ?
No checkout doesn't support it, but you can implement it using payment-element https://stripe.com/docs/payments/accept-a-payment-deferred?platform=web&type=payment