To view existing coupons in your Stripe dashboard go to Products → Coupons.
While in Test Mode you may only create and edit coupons in your Stripe Test Coupons. Before switching to Live Mode, make sure the same coupons (with the exact same IDs) are created in your Stripe Live Coupons.
To add a coupon click the New button at the top right and give it a name.
The ID is the coupon code and is what the customer will have to enter exactly to apply the coupon to their payment(s) or subscription.
Although the coupon ID field is stated as optional, you will need to fill it in to make sure it works for your site visitors.
Next, you can specify a Percentage or Fixed amount discount type and value.
Note: You cannot use a coupon that would make the value of the transaction $0 (free) – ie, you cannot have a 100% off coupon.
The duration of a coupon determines how long this coupon will apply once redeemed on a subscription or customer
The redemption limits apply across customers so it won’t prevent a single customer from redeeming multiple times
Note: Subscription capabilities are included with a Plus or higher license.
Note that you cannot edit coupons once created except for the name and metadata. This is by design from Stripe.
To add coupon code fields to your payment forms, see the Other Form Elements → Coupon Code Field section in the On-Page Form Display Options.
When using the “Stripe Checkout” form display type with Subscriptions, you must also include a Customer field such as Email or Name on your form for the coupon to be applied to the created Customer.