Controller does not check if a promo code is valid.

Created on 26 September 2023, 9 months ago
Updated 12 January 2024, 6 months ago

Problem/Motivation

The module does not check if a promotion code is valid/expired/used.

Steps to reproduce

Setup a promotion with limited usage.
Try to use the code more than the limit you have set.

Proposed resolution

Query the promotion usage table to check if the code is valid.
Send error message "The provided coupon code is invalid." if the code is invalid.

📌 Task
Status

Needs review

Version

2.1

Component

Code

Created by

🇩🇪Germany DiDebru

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.69.0 2024