Open KevinSu89 opened 5 years ago
This issue is still happening and after deeper investigation, it seems that the issue has to do the request mapping in the endpoint. Spartacus makes the right API call with the right params but it gets handled incorrectly.
Dropping bug label as this is not a Spartacus bug, nor something we can fix in Spartacus. It's an important issue and we must track this, see https://cxjira.sap.com/browse/STING-17 for the backend ticket.
Closing #4724 and #4725 to keep a single ticket in Spartacus to track progress.
Cannot remove a coupon from cart if the coupon code contains "/"
Environment Details
Steps to Reproduce
Observed Results
The remove request get "400" as the return
Expected Results
The coupon can be removed successfully
Offer to Fix
NO.
Additional Information
When testing this via Swagger UI, the return is HTTP Status 400 – Bad Request (coupon code = abcd/efg)