diff --git a/plugins/redform_payment/paypal/helpers/payment.php b/plugins/redform_payment/paypal/helpers/payment.php index aae43d20a5f1..29a4bfccfa9b 100644 --- a/plugins/redform_payment/paypal/helpers/payment.php +++ b/plugins/redform_payment/paypal/helpers/payment.php @@ -67,12 +67,12 @@ public function process($request, $return_url = null, $cancel_url = null) "item_name" => $request->title, "no_shipping" => '1', "invoice" => $request->uniqueid, - "amount" => $this->getPrice($res), + "amount" => RedshopHelperCurrency::convert($this->getPrice($res), '', $this->params->get('currency')), "return" => $return_url, "notify_url" => $this->getUrl('notify', $reference), "cancel_return" => $cancel_url, "undefined_quantity" => "0", - "currency_code" => $res->currency, + "currency_code" => $this->params->get('currency'), "no_note" => "1" ); diff --git a/plugins/redform_payment/paypal/paypal.xml b/plugins/redform_payment/paypal/paypal.xml index 8156730f940c..b2a056a4f045 100644 --- a/plugins/redform_payment/paypal/paypal.xml +++ b/plugins/redform_payment/paypal/paypal.xml @@ -22,16 +22,17 @@