Create coupon codes for the apps you build

Coupons in Hercules Commerce are discount codes your customers enter at checkout. You pick the code, take a percentage or a fixed amount off, and cap the coupon by duration, expiration date or total redemptions.

What can you set on a coupon?

Name the code customers type

Give the coupon the code people will enter, such as SPRING25 or LAUNCH50. Pick a code someone can read off a postcard or a truck door.

Coupons
Create Coupon form with the promo code SUMMER20 typed in
Create Coupon form with Discount Type set to Fixed Amount Off and an amount in USD

Choose a percentage or a fixed amount off

Pick the discount type, then enter the value, such as 25% off or $20 off. A percentage grows with the price, and a fixed amount takes the same sum off every order.

Coupons

Set how many payments the discount covers

A duration of once discounts only the first payment, repeating discounts a set number of months, and forever discounts every payment. A repeating coupon set to three months takes the discount off the first three monthly payments of a plan.

Coupons

End it on a date or after a number of uses

An expiration date closes a seasonal offer on schedule. A maximum number of redemptions holds a launch offer to, say, its first 100 uses.

Coupons

Disable a code and keep its history

Disable a coupon when an offer ends early or a code turns up on a deal site. Customers can't redeem it after that, and its past redemptions stay in Commerce.

Coupons

How do you run a promotion with coupons?

  1. 1. Create the coupon

    Go to Coupons in the Commerce tab, click Create Coupon, and fill in the code, the discount and its restrictions. Hercules Commerce then adds an Add promotion code field to your checkout page.

    Coupons
  2. 2. Put the offer on your pages

    Add a banner to the booking page that says "Enter SPRING25 at checkout for 25% off a tune-up before May 31."

    Hercules adds the banner. Ask it to hide the banner after May 31 too, when the coupon expires.

  3. 3. Try the code at checkout

    Publish the app, open it in a separate tab, and check out with your own card and SPRING25. Hercules Commerce applies the discount, and you refund yourself afterward, because Commerce has no test mode.

    Testing

What could a spring campaign look like?

In this hypothetical example, a heating and cooling company uses a coupon to fill spring maintenance appointments. They sell maintenance plans through a Hercules website. In March they mail postcards offering TUNEUP25 for 25% off the first payment, capped at 300 uses and expiring May 31, so the total discount stays within the spring budget. In April the code shows up on a coupon site, so the office disables it and mails a new code to customers who hadn't booked.

Related features

Frequently asked questions

What should you know before you run a coupon?
  • You are the merchant of record, the seller legally responsible for each sale, so tax on discounted sales is yours to handle. Compliance
  • Commerce checkout doesn't support custom fields yet. Products & Features
  • See what each Hercules plan includes on the pricing page.
Do coupons work on one-time purchases?

Yes. Hercules Commerce coupons work on plans and one-time products alike. For a one-time sale, choose a duration of once.

Can I make a code for one customer?

To give one customer a Hercules Commerce coupon, set its maximum redemptions to one and send the code only to that customer. The first person to enter it uses it up.

What happens with a 100% off code?

A fully discounted order creates no payment, so it never shows up in a customer's payments. Ask Hercules to confirm each checkout from your app's server instead, and to record each order exactly once per checkout. Commerce integration

Do coupons work in my Google Play or App Store app?

Hercules Commerce coupons work in Google Play and App Store apps for physical goods and real-world services. Digital content and subscriptions used in a store app must use the store's billing, which Hercules builds don't include. Some regions allow other payment systems, which Hercules doesn't set up. Selling in store apps

How do you get started?

Open Coupons in the Commerce tab of any app that takes payments, and create your first code. Start building.