#ThomasF

1 messages · Page 1 of 1 (latest)

severe perchBOT
lucid wren
#

Hello there

#

Correct, PaymentIntents don't support promo codes nor coupons at the moment.

#

I can add a feature request for you to get this added but it simply isn't supported right now and I can't provide any sort of timeline where this would get built.

#

What you really want to do here is just create your own promo codes and manage them in your database

#

Then set the amount of the PaymentIntent accordingly when a promo code is used

dusty lance
#

Is there a way to create a one-time payment with stripe and apply a promo code so that the code usage is incremented ?

lucid wren
#

No not without using Stripe Checkout

dusty lance
#

can I do that by creating invoice before the payment intent ?

#

what I do not understand is why this works with subscriptions

#

Isn't there an API to increment "manually" when used ?

lucid wren
#

No there is not.

#

Like I said, if you want to use promo codes with one-time payments using PaymentIntents then you should handle this all in your own database and not within Stripe

#

You can have your own tracker in your database and increment it each time you use the promo code.

#

All you do within Stripe is set the correct amount to charge via the amount you set on the PaymentIntent

dusty lance
#

that I understand

#

My question is more, is there a way to make one-time payment and promo codes work together within Stripe ?

lucid wren
#

No, not unless you use Stripe Checkout.

dusty lance
#

ok then can we create vouchers so people can pay using this instead of there credit card ?

lucid wren
#

You control all of that yourself

#

That is all dependent on how you build your own integration