Skip to content

Commit dbf8b76

Browse files
committed
[payum][action] remove debug.
1 parent 4ad88af commit dbf8b76

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/Sylius/Bundle/PayumBundle/Payum/Paypal/Action/CapturePaymentUsingExpressCheckoutAction.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ public function execute($request)
5555
$payment
5656
)->getTargetUrl();
5757
$details['PAYMENTREQUEST_0_INVNUM'] = $order->getNumber().'-'.$payment->getId();
58-
$details['PAYMENTREQUEST_0_CURRENCYCODE'] = 'USD';
58+
$details['PAYMENTREQUEST_0_CURRENCYCODE'] = $order->getCurrency();
5959
$details['PAYMENTREQUEST_0_AMT'] = round($order->getTotal() / 100, 2);
6060
$details['PAYMENTREQUEST_0_ITEMAMT'] = round($order->getTotal() / 100, 2);
6161

0 commit comments

Comments
 (0)