Want to offer discount codes at Stripe checkout? Here's exactly how to set them up.
Step 1: Enable coupons in InviteMember
Open the @InviteMemberBot on Telegram.
Go to Payment Options > Stripe Live > Coupons.
Enable the option to allow the use of discount codes.
Step 2: Create a coupon and promotion code in Stripe
Log in to your Stripe Dashboard.
Go to Product catalog > Coupons and click Create a coupon (or open an existing coupon).
Fill in the details for your coupon:
Name: Choose a name for the coupon (e.g., “Black Friday”).
ID (Optional): Enter a custom API identifier, or leave blank for Stripe to auto-generate one.
Type: Set a percentage or fixed amount discount.
Duration: How many times will the code apply once redeemed.
Redemption limits (Optional): Set an expiration date and use time limits.
Enable the “Use customer-facing coupon codes” option. This lets you add one or more promotion codes linked to the coupon.
In the promotion code section:
Code: Type your own code (e.g.,
FRIENDS20
) or leave blank for Stripe to generate one.
Optionally set additional restrictions:
Eligible for first-time orders only
Limit to a specific customer
Limit the number of times this code can be redeemed
Add an expiration date
If you want to create more than one code for this coupon, use the Add another code option.
Press the "Create the coupon" button.
What happens at checkout
Once you’ve enabled coupons in the @InviteMemberBot and created them in Stripe:
Customers type the promotion code string (e.g.
FRIENDS20
) into the discount field.Stripe looks up the code → coupon it’s linked to and checks all rules:
Discount type and duration
First-time order only, specific customer, minimum order value
Expiration date and redemption limits
If eligible, Stripe applies the discount automatically based on your coupon settings.
You can create multiple codes for the same coupon. All those codes give the same discount defined by the coupon.
Quick clarity: Coupon = the discount (what is discounted). Promotion code = the text customers enter (points to a coupon and can add extra rules).
Troubleshooting & Best Practices
Make sure to share promotion codes, not coupon names or IDs. The checkout field accepts codes only.
Customers enter one promotion code at checkout.
If a code fails, check that it’s active, not expired, under redemption limits, and meets any restrictions (first-time, specific customer, minimum order value).
If a code works on some products but not others, check the coupon’s Apply to specific products/prices setting and confirm the item is eligible.
When you create multiple codes for one coupon, remember:
They all use the same underlying discount.
Coupon-level limits (e.g., total redemptions) are shared across those codes unless you set per-code limits.
Use memorable, human-readable codes like
SUMMER25
. Don’t expose internal IDs likecupon1
.