Skip to content

Error message when trying to use coupon

Occasionally, users may encounter an error stating that a Stripe coupon is invalid when attempting to redeem it during the checkout process with the WP Full Pay plugin. This article provides solutions to resolve common issues related to Stripe coupon codes not being recognized or accepted by the system.

In this article

Why Stripe coupon code not working?

When trying to redeem a coupon on a subscription form you get the following error message:

“This coupon has expired.”

Why you are getting an invalid coupon code error with Stripe?

The following scenario can cause the error when using Stripe coupon codes:

  1. API mode mismatch: You’re trying to use the coupon not in the API mode it was created in.

How to fix?

Create the coupon in the right API mode

In Stripe, API modes (test and live) are two different worlds, with a different set of objects (like subscriptions plans, coupon codes, etc).

Most probably, you’ve created the coupon in test mode, and you are trying to use it in live mode, or vice versa. Please make sure that the coupon exists in the mode you are trying to use it in.

Learn how to set up Stripe coupons.

Was this helpful?