#Deeptanshu

1 messages · Page 1 of 1 (latest)

blazing sapphireBOT
sullen gate
#

hello! do you want the discount to apply to the increased quantity also?

terse bison
#

nopes

sullen gate
#

if I understood it correctly - you want the first seat to have the discount applied, but the second seat to have no discount applied?

terse bison
#

yeah, further seats that we add in the subscription should not have discount

sullen gate
#

gimme a while to test something out

terse bison
#

sure

sullen gate
#

i think it's not impossible but it's going to be complicated to manage. The way I would go about it is to have two separate Prices. The first time Checkout would use Price 1, subsequent additions during that first billing cycle would use Price 2. I would also schedule an update to the subscription such that after the first billing cycle, i would combine the number of seats from Price 1 with Price 2, and solely continue on with Price 2

terse bison
#

ohhh okay, so we can't do it like first seat also with price 2 but with discount?

hoary nimbus
#

Hi @terse bison I'm taking over. give me a sec to catch up

#

So you just want to apply the discount in the very first invoice during checkout?

terse bison
#

sure....just adding some samples to get the sense what different things I tried...

sub_1MevYxH06udFZQYBdiS6osA3 this was the subscription where I added discount on the first seat but then the second seat cost became discount of first + new seat cost

#

So you just want to apply the discount in the very first invoice during checkout?

yes

#

For subscription sub_1MeyO9H06udFZQYBH6DToIVc on successfull checkout succeed I updated the subscription with discount so that it stays with the subscription and do not get added with any new quantity update but it worked for the second seat addition correctly but with the update it removed the discount from the subscription automatically and then the third seat addition change added the discount amount as well

#

hey team, is the above mentioned way only the way to go about it??

hoary nimbus
#

Discord is busy. Your question is complicated I'll get back to you once I've helped other users

terse bison
#

sure

hoary nimbus
terse bison
#

ok will go through it once, if that covers the use case that we want to build

#

also can you check this subscription sub_1MeyO9H06udFZQYBH6DToIVc why the coupon got automatically removed when we updated the subscription quantity

hoary nimbus
#

The coupon's duration is once, it means it's only applied to the first invoice that this subscription generates.

#

The discount will be removed in the upcoming invoice regardless of subscription change

terse bison
#

ohhh so we can pass the coupon in checkout time so that it gets applied the first time and then it should work fine???

#

how can we pass discount coupon in checkout api so that it gets applied to the subscription?]

hoary nimbus
terse bison
#

Cool, thanks a lot for helping....will try implementing this

#

With this sub_1MevYxH06udFZQYBdiS6osA3 subscription I tried doing this, but once updating the quantity again it billed the discount applied as well in the next