Skip to content

Commit

Permalink
Fix empty paypal description
Browse files Browse the repository at this point in the history
Paypal does not show description
  • Loading branch information
byrkas committed Aug 16, 2015
1 parent 238d24c commit d4252c0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Action/ConvertPaymentAction.php
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,8 @@ public function execute($request)
$details['INVNUM'] = $payment->getNumber();
$details['PAYMENTREQUEST_0_CURRENCYCODE'] = $payment->getCurrencyCode();
$details['PAYMENTREQUEST_0_AMT'] = $payment->getTotalAmount() / $divisor;

$details['PAYMENTREQUEST_0_DESC'] = $payment->getDescription();

$request->setResult((array) $details);
}

Expand Down

0 comments on commit d4252c0

Please sign in to comment.