#CodeLearner

1 messages · Page 1 of 1 (latest)

carmine summitBOT
arctic edge
#

@strong galleon let's chat here. What's your question?

strong galleon
#

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

arctic edge
#

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.

strong galleon
#

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?

arctic edge
#

I don't understand what you're asking. Can you try to be more concise and specific about your question?

strong galleon
#

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?

arctic edge
#

How are you creating payments right now? You literally just choose a different amount based on what you want the discount to be

strong galleon
#

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?

arctic edge
#

I don't think coupons are ever taxable. As far as I know, only the amount the customer pays is taxable

strong galleon
#

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*

arctic edge
#

Ah, okay. Are you using Subscriptions?

strong galleon
#

yes

arctic edge
#

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

strong galleon
#

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

arctic edge
#

Do you mean Stripe Checkout? Or your own custom checkout workflow?

strong galleon
#

our own checkout flow

carmine summitBOT
arctic edge
#

Gotcha, you can create new Coupons to change the amount, but you won't be able to update the amount on previously created Coupons

strong galleon
#

oh then that doesnt work for us

normal zenith
#

It's not possible to change when the coupon applies, no. It's meant to discount the product price, rather than behave as a gift certificate.

#

What are you really trying to achieve here between when the coupon applies and the changing amounts?