desenvolvedor-io / desenvolvedor-io/dev-store

[BUG] It is not possible to apply a voucher in the cart in the production environment

Open
#39 0 comments 0 reactions 1 assignee Claimed by @EduardoPires View on GitHub
untriaged
Dominant language
C#
Stars
1.1k
Forks
224
PR merge metrics
No merged PRs in 30d

Description

**Describe the bug**

It is not possible to apply a voucher in the cart in the production environment.
It is returned a error with code 500.
But in the development environment is OK.

**To Reproduce**

Steps to reproduce the behavior:
1. Add product in cart
2. Go to the cart
3. Apply a voucher
4. See error

**Expected behavior**

Voucher added successfully or message voucher is invalid or not found

**Screenshots**

![image](https://github.com/user-attachments/assets/e2730056-6815-4341-9c97-0c79283148e4)

![image](https://github.com/user-attachments/assets/88498e26-f742-4c15-83f1-c173242df804)

**Additional context**

But in the development environment is OK.

![image](https://github.com/user-attachments/assets/a78610cf-6b9f-4eb9-9ba3-472e1d14b7f0)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.