#CodeLearner
1 messages · Page 1 of 1 (latest)
@strong galleon let's chat here. What's your question?
so as I mentioned how can I implement so currently in the stripe it can only be done with coupons however it isnt working as expected where for suppose a subscription of 100$ plus taxes and when we are applying the gc of 100$ here its showing as total amount as zero where it should be done after taxes
so we spoke to stripe customer care they said we currently dont support giftcard nor there are any gc APIs in docs
where we are trying to implement our inhouse gift card using stripe Apis
So you can implement Coupons to provide discounts on subscriptions, or you can calculate reducing the price via your own custom code. Those are the only 2 options for implementing discounts through Stripe.
how to reduce the price so because here once the customer buys a gc we are creating a coupon in stripe however just to see is there a way we can do coupon non taxable or to apply the coupon after applying taxes?
I don't understand what you're asking. Can you try to be more concise and specific about your question?
so u mentioned that we can implement it by reducing the price may I know how can that e done or any reference docs to do so?
How are you creating payments right now? You literally just choose a different amount based on what you want the discount to be
so we are currently creating as a product. To be more clear about my question is there a way to make coupons non taxable in stripe?
I don't think coupons are ever taxable. As far as I know, only the amount the customer pays is taxable
I meant the coupons are currently being deducyed from subtotal i.e, before taxes which instead I want it to deduct from total i.e after applying taxes on our product
deducted*
Ah, okay. Are you using Subscriptions?
yes
I don't think it's possible to apply a coupon or a discount after tax, but let me check with a colleague and make sure
ok and also can u please check if we can tweak the coupon amounts dynamically on the fly during checkout if so we can deduct the taxes from coupon amount
Do you mean Stripe Checkout? Or your own custom checkout workflow?
our own checkout flow
Gotcha, you can create new Coupons to change the amount, but you won't be able to update the amount on previously created Coupons
oh then that doesnt work for us