#ilamathi-Price

1 messages · Page 1 of 1 (latest)

jagged ridge
knotty barn
jagged ridge
#

Both way should works. I believe you can create multiple prices per 1 product

knotty barn
#

yes right now i done that only...I have shown all the six plan to user and user selected one plan and came to checkout page where i will create subscription (with automatic_tax: true) for that selected one and display the amount and tax split up... Now user have option to switch to the different plan, so when user choose the different plan i am updating the subscription with new selected plan's prcieId and getting new amount and tax details that i will display that to user...

Now the problem is when user choose the plan which has different term (monthly plan to yearly or vice-versa within same tier or different tier) the subscription update returning proper amount and tax details..

But when user selects the same term in another tier, subscription update not returning updated value.. For example user initially selected basic monthly plan but now in checkout user trying to switch to enterprise monthly plan Though i am updating subscription with new priceId, it still return the old amount and tax details in the latest invoice.. The latest invoice object in the subscription not getting updated ...

jagged ridge
#

Okie. Can you give me your account id?

#

acct_xxx

knotty barn
#

As this is public forum, i am bit worried to share the acct_xxx details as it's not mine personal one and it's corporate acc.. If possible can u ping me in 1:1 pls, i can share ?