You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When adding a coupon code under discounts, if that coupon code already exists then Craft produces an Internal Server Error rather than an expected flash error/warning.
Steps to reproduce
Add new discount with coupon code and save
Add discount with same coupon code and save
Additional info
Craft version: 3.0.30.2
PHP version: 7.2.10
Database driver & version: MySQL 5.7.23
Plugins & versions: Commerce 2.0.0-beta.13.1
The text was updated successfully, but these errors were encountered:
Description
When adding a coupon code under discounts, if that coupon code already exists then Craft produces an Internal Server Error rather than an expected flash error/warning.
Steps to reproduce
Additional info
The text was updated successfully, but these errors were encountered: