Controller does not check if a promo code is valid.

Created on 26 September 2023, about 1 year 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

Active

Version

2.1

Component

Code

Created by

🇩🇪Germany DiDebru

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

Merge Requests

Comments & Activities

Production build 0.71.5 2024