#codeninja
1 messages · Page 1 of 1 (latest)
Hello! We'll be with you shortly. Below are links to other discussions we've had with you in the past week in case you want to review that information. If your question is related to one of these previous discussions, please provide a comprehensive summary of the current state and what you need help with now. We help many users simultaneously, so a summary allows us to resolve your issue as soon as possible.
- codeninja, 3 days ago, 23 messages
Which integration type do you use? Can you share an example object ID that you expect Stripe to be calculated?
session {
id: 'cs_test_b1tzsY7CWhU9jQQnfEC1QVuw0yqxrY67MEyKK1UQemXkckcWcyO1ILRcWZ',
object: 'checkout.session',
after_expiration: null,
allow_promotion_codes: null,
amount_subtotal: 30000,
amount_total: 30000,
automatic_tax: { enabled: true, status: 'complete' },
billing_address_collection: null,
cancel_url: 'http://localhost:4200/admin',
client_reference_id: null,
client_secret: null,
consent: null,
consent_collection: null,
created: 1703229651,
currency: 'usd',
currency_conversion: null,
custom_fields: [],
custom_text: {
after_submit: null,
shipping_address: null,
submit: null,
terms_of_service_acceptance: null
},
customer: 'cus_PAnuujyP3GKEwX',
customer_creation: null,
customer_details: {
address: null,
email: 'johndoe@email.io',
name: null,
phone: null,
tax_exempt: 'none',
tax_ids: null
},
customer_email: null,
expires_at: 1703316050,
invoice: null,
invoice_creation: null,
livemode: false,
locale: null,
metadata: {},
mode: 'subscription',
payment_intent: null,
payment_link: null,
payment_method_collection: 'always',
payment_method_configuration_details: null,
payment_method_options: null,
payment_method_types: [ 'card' ],
payment_status: 'unpaid',
phone_number_collection: { enabled: false },
recovered_from: null,
setup_intent: null,
shipping_address_collection: null,
shipping_cost: null,
shipping_details: null,
shipping_options: [],
status: 'open',
submit_type: null,
subscription: null,
success_url: 'http://localhost:4200/form?success=true',
total_details: { amount_discount: 0, amount_shipping: 0, amount_tax: 0 },
ui_mode: 'hosted',
url: 'https://checkout.stripe.com/c/pay/cs_test'
}
I am using checkout session
NodeJS
The tax_behavior must be set on the price for tax calculation. However, https://dashboard.stripe.com/test/prices/price_1ONBWgFVUyIGCF4Mx1xBIHcC doesn't specify the tax_behavior, so its tax can't be calculated in the Checkout Session
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
https://stripe.com/docs/tax/checkout:
Tax behaviour: The tax behaviour on a price can be either inclusive or exclusive. This determines how the buyer sees the tax.
I can see the tax on that Price is set to auto
I have created a new price with inclusive tax
I have created a new price with inclusive tax
But still $0 on the checkout page
Can you share the Checkout Session ID (cs_xxx) with the latest price?
Sure
cs_test_b1PuZdJGqkBlFq6gie4fGyr1IOc9m6iSboGEqoItdXaNsSIB9gYm9s6qnR
Based on our logs, it said the amount / price is not taxable. It can be due to multiple factors other than integration related. I'd recommend writing Support https://support.stripe.com/contact with this Checkout Session ID (cs_xxx), so that they can check for you why the tax is not computed.
Find help and support for Stripe. Our support site provides answers on all types of situations, including account information, charges and refunds, and subscriptions information. Get your questions answered and find international support for Stripe.
I understand thanks anyway have a great day ahead