#gaetan-checkout-coupon

1 messages ยท Page 1 of 1 (latest)

radiant topazBOT
silk cliff
#

No that's not possible, that's something you would track on your end

raw mauve
#

:'(, ok I can do this with metadata maybe ..

#

because coupon can be use only from checkout session for exemple ?

silk cliff
#

not really?

#

Sorry I think I'm misunderstanding your question at this point. What is the real problem you are trying to solve?

raw mauve
#

I want use a coupon with a configuration 100% reduction, as free..
If I pass this coupon 100% free to stripe session checkout, stripe said me it's not possible to do this.. I don't want that the user put his banking informtions so I woulk like a process to use coupon without having pay ..

#

so if I put a metadata on this coupon when I create this, and then I check this metadata, I increment this I can manage my process without redirect the user on stripe checkout session page

silk cliff
#

Checkout today doesn't support 100% off coupon for one-time payments. It's just not possible to do this

#

But yeah I think with the flow you describe you mostly would build this yourself ahead of Checkout

#

like you would ask them if they have a coupon code (your own,not Stripe's) and if so you'd skip Checkout right?

#

gaetan-checkout-coupon

raw mauve
#

yes

  • user come on my website put his code 100% free
  • server side check if coupon exist on stripe .
  • I check if is valid with a metadata "count_coupon_free_number" and the field on the stripe coupon 'isvalid' for the duration

I think it can work, and I bypass the stripe checkout page .

#

seems good ?

silk cliff
#

Yes though you don't really need to use our Coupon feature in that case I would say. It'd be easier to have your own logic

raw mauve
#

yes but it avoid to stock on my side the code coupon and with stripe I can put a duration for the validity, it's 2 feature cool

#

that I no need to code

silk cliff
#

gotcha, then yes that seems like it would work. Just a bit annoying that you have to track usage that way. I wouldn't use metadata personally, I'd cache all of this in my own database.

raw mauve
#

ok thanks for the tips @silk cliff ๐Ÿ˜‰ and thanks for your conversation ๐Ÿ˜‰

silk cliff
#

Sure thing! Hopefully we can add support for 100% off coupon in Checkout soon to solve your problem ๐Ÿ™‚

raw mauve
#

it's will be really amazing, can you keep me in touch if it can be done ?

silk cliff
#

Unfortunately that's not really something we could reach out to you about. But it's something we want to add support for later this year

raw mauve
#

ok perfect, I will check the documentation about this

#

have a good day thanks for your tips