Skip to content

Commit

Permalink
Not using discountDescription, because this is mostly empty.
Browse files Browse the repository at this point in the history
This causes pay later methods to fail because the description is empty
  • Loading branch information
andypieters committed May 2, 2018
1 parent a9d2966 commit d029c96
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Model/Paymentmethod/PaymentMethod.php
Original file line number Diff line number Diff line change
Expand Up @@ -302,7 +302,7 @@ protected function doStartTransaction(Order $order)
$discountTax = $order->getBaseDiscountTaxCompensationAmount() * -1;
}

$discountDescription = $order->getDiscountDescription();
$discountDescription = __('Discount');

if ($discount != 0) {
$arrProducts[] = array(
Expand Down

0 comments on commit d029c96

Please sign in to comment.