getcandy / candy-api

GetCandy v1 E-Commerce API
https://getcandy.io
Apache License 2.0
444 stars 114 forks source link

Hotfix - Remove other discount lines before re adding #428

Closed alecritson closed 2 years ago

alecritson commented 2 years ago

There's an issue where discount lines are being duplicated on an order. This PR removes those to avoid conflict before re-adding them.