#billwill-checkout-coupon
1 messages ยท Page 1 of 1 (latest)
Hi ๐
Hmm that's a little difficult to envision. As you have likely noticed, our coupons are configured for either % off or $ off discounts
Hmmm.... ๐ค
Is this something you are dynamically creating at the time of applying the discount? Is there some way to programmatically estimate the extra amount to be charged based on your volume based price and then calculate the $ off discount to achieve your set price?
yeah the subscription amount when creating the checkout session
Okay so that is something you would need to calculate on your end (the $ off to get to the final price you want) and then create a Coupon for that produt with that amount off. If you want it applied directly you would pass the Coupon ID in the discounts parameter when creating the Checkout Session
Otherwise if you wanted the customer to apply it you would create a Promotion code from that Coupon and send the code to the Customer so they could enter it in the Checkout Session