{"section":"known-issues","requestedLocale":"en","requestedSlug":"coupon-code-is-not-recorded-in-the-order-when-applied-with-different-letter-case","locale":"en","slug":"coupon-code-is-not-recorded-in-the-order-when-applied-with-different-letter-case","path":"docs/en/known-issues/Checkout/coupon-code-is-not-recorded-in-the-order-when-applied-with-different-letter-case.md","branch":"main","content":"## Summary\n\nWhen a shopper applies a coupon using a different letter case than the one registered in Rates & Benefits (for example, typing `Frete1` for a coupon registered as `frete1`), the promotion is applied correctly and the discount is granted, but the coupon code is not recorded in the order.\n\nThe order total, the discount, and `ratesAndBenefitsData` remain correct — only the marketing record is affected.\n\n## Simulation\n\n1. In the Admin, create a coupon with a lowercase code (for example, `frete1`) and link it to an active promotion.\n2. Create a cart and add an item eligible for that promotion.\n3. Apply the coupon using a different letter case than the registered one\n4. Confirm in the orderForm response that the promotion was applied.\n5. Place the order.\n6. Retrieve the order details by using the Get order API and check the `marketingData` field. The coupon code is not there.\n\nCoupon will be an empty string when the cart had no UTM data, and `marketingData` itself is `null` when the cart had any UTM field filled in.\n\n## Workaround\n\nNormalize the coupon code to lowercase in the storefront or application before sending it to Checkout."}