#vpmragu-Subscription
1 messages ยท Page 1 of 1 (latest)
Are you using Stripe Tax (i.e., automatic_tax) or Tax Rates? they are two different products. https://stripe.com/docs/billing/taxes/collect-taxes
Thanks Jack.. We are creating subscription with StripeTax and as per step3 in the above link and it is working fine. When user trying to change the plan in the checkout flow, at that time we are trying to update the subscription with new priceId which is not giving updated tax details.
๐ stepping in for Jack and gimme a min
When you update the Sub, did you also enable Stripe Tax? https://stripe.com/docs/api/subscriptions/update#update_subscription-automatic_tax-enabled
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
already we have enabled automatic_tax while subscription creation. Do i need to send it again in update?
let me try
I think so yes
No, it doesn't help
Weird. Have you taken a look here and see if your new product/price is relevant? https://stripe.com/docs/tax/zero-tax
Weird, can you give the Subscription id?
sub_1LQ3R3KhQvshw5gFjVisrrCv
Um I see Invoice in_1LQ3R3KhQvshw5gFlcZUHeM7 has a tax rate already, no?
yes.. when i switch the tier, tax amount is not reflecting in the invoice
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
Isn't this the new price ($4.99) with tax info ?
No. it should be $9.99
i have two monthly tiers for the same product like basic($4.99) and premium($9.99)
if i switch between these two is not reflecting
https://dashboard.stripe.com/test/logs/req_tsa9ZLpDogToMI in this request I see you switched from $9.99 to $4.99 be specifying exactly the Subscription Item si_M8K5uRck78k1W1
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
if i switch the term in the same tier it is working
What do you mean by switching the "term"?
can you check the data in the latest_invoice?
there it is not changing
"plan": { "id": "price_1LPO1gKhQvshw5gFhCPDpGdD", "object": "plan", "active": true, "aggregate_usage": null, "amount": 999, "amount_decimal": "999", "billing_scheme": "per_unit", "created": 1658742996, "currency": "usd", "interval": "month", "interval_count": 1, "livemode": false, "metadata": {}, "nickname": null, "product": "prod_M7dIJMdcfxD5c5", "tiers_mode": null, "transform_usage": null, "trial_period_days": null, "usage_type": "licensed" },
Yes because its' still the old price $9.99. It's this Invoice https://dashboard.stripe.com/test/invoices/in_1LQ3R3KhQvshw5gFlcZUHeM7
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
"price": { "id": "price_1LPO1gKhQvshw5gFhCPDpGdD", "object": "price", "active": true, "billing_scheme": "per_unit", "created": 1658742996, "currency": "usd", "custom_unit_amount": null, "livemode": false, "lookup_key": null, "metadata": {}, "nickname": null, "product": "prod_M7dIJMdcfxD5c5", "recurring": { "aggregate_usage": null, "interval": "month", "interval_count": 1, "trial_period_days": null, "usage_type": "licensed" }, "tax_behavior": "exclusive", "tiers_mode": null, "transform_quantity": null, "type": "recurring", "unit_amount": 999, "unit_amount_decimal": "999" },
How can i update the new tax rates in the invoice?
I believe the newer Invoice (Upcoming Invoice ) already with newer price $4.99 and has the tax rate applied
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
how can i take the upcoming invoice from subscription ?
Um it goes back a bit into the parameter collection_method: "send_invoice" When you created a Subscription with this, its initial Invoice was created in draft mode and will wait for 1 hour before finalized and sent. But during that 1 hour you changed the price, and I think the Invoice remained unchanged there, only next Invoice (upcoming Invoice) has the newer price reflected
I am not getting. What is your recommendation ?
Let me look at this a bit closer
Okay..
Sorry I am a bit swamped right now. brb
Hey, taking over here. Can you help be understand the issue?