adobe / commerce-events

MIT License
6 stars 7 forks source link

DINT-1336 Enforce numeric discount amount #150

Closed benjaminkalk closed 7 months ago

benjaminkalk commented 7 months ago

Description

0 discount amounts are coming through as strings causing AEP batch processing errors. Going to enforce in handler to correct any upstream variance. Also, adding try catch as Number coercion can throw errors.

Related Issue

https://jira.corp.adobe.com/browse/DINT-1336

Motivation and Context

How Has This Been Tested?

Screenshots (if appropriate):

Types of changes

Checklist