Better Support for invalid giftcard / discount code error messages

At the moment Spryker skips voucher codes that could not be found in any pool or in gift card table. Therefore it is not easy to say why a code is not valid. Maybe it's a not existent code, an inactive code or just invalid because the active time frame has past.

Furthermore it would be nice to show which condition is the reason why a voucher code failed. Currently the DecisionRules just validate entities. Later there is not information which rule failed exactly.

The intention is to show more details to customers, why their codes could not be applied.

  • Avatar32.5fb70cce7410889e661286fd7f1897de Guest
  • Jan 30 2019
  • New
How we can make you more productive?

Some ideas:

- NonApplicableCodes are just flat codes. Maybe a transfer object with error notice is more useful

- A voucher code that could not be found is somehow a nonApplicableCode, enriched with an error message

- A Rule or Checker could probably add an error message code or string if this validation failed

Company ROSE Bikes GmbH
  • Attach files