#vpmragu-Subscription

1 messages ยท Page 1 of 1 (latest)

rich gale
bold beacon
#

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.

runic yoke
#

๐Ÿ‘‹ stepping in for Jack and gimme a min

bold beacon
#

already we have enabled automatic_tax while subscription creation. Do i need to send it again in update?

#

let me try

runic yoke
#

I think so yes

bold beacon
#

No, it doesn't help

runic yoke
bold beacon
#

No

#

switching tier within the same tax jurisdiction

runic yoke
#

Weird, can you give the Subscription id?

bold beacon
#

sub_1LQ3R3KhQvshw5gFjVisrrCv

runic yoke
#

Um I see Invoice in_1LQ3R3KhQvshw5gFlcZUHeM7 has a tax rate already, no?

bold beacon
#

yes.. when i switch the tier, tax amount is not reflecting in the invoice

runic yoke
#

Isn't this the new price ($4.99) with tax info ?

bold beacon
#

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

runic yoke
bold beacon
#

if i switch the term in the same tier it is working

runic yoke
#

What do you mean by switching the "term"?

bold beacon
#

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" },

runic yoke
bold beacon
#

"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" },

bold beacon
runic yoke
#

I believe the newer Invoice (Upcoming Invoice ) already with newer price $4.99 and has the tax rate applied

bold beacon
#

how can i take the upcoming invoice from subscription ?

runic yoke
#

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

bold beacon
#

I am not getting. What is your recommendation ?

runic yoke
#

Let me look at this a bit closer

bold beacon
#

Okay..

runic yoke
#

Sorry I am a bit swamped right now. brb

clear kettle
#

Hey, taking over here. Can you help be understand the issue?