Handling $0 discount line items on the Level3 integration with Stripe
FixSome card transactions were failing in the sandbox environment after the latest release to use the 2025-04-30.preview version of the Stripe API. This is caused by passing in a 0 value for the discount amount on the line items. The previous version of the Stripe API allowed for a 0 value while the newer version does not. We have added a simple check to ensure we are only passing a discount amount to Stripe if the value is greater than 0.