Skip to content

Commit

Permalink
Merge pull request #647 from mailchimp/issue591
Browse files Browse the repository at this point in the history
Add abs for discount_amount
  • Loading branch information
ebizmarts-keller authored Feb 28, 2018
2 parents ed49076 + 3a4d7e8 commit bcdb400
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -680,7 +680,7 @@ public function getPromoData($order)

$promo = array(array(
'code' => $couponCode,
'amount_discounted' => $amountDiscounted,
'amount_discounted' => abs($amountDiscounted),
'type' => $type
));

Expand Down

0 comments on commit bcdb400

Please sign in to comment.