diff --git a/code/plugins/paypalpro/paypalpro.php b/code/plugins/paypalpro/paypalpro.php index f45aceb..1f24c81 100644 --- a/code/plugins/paypalpro/paypalpro.php +++ b/code/plugins/paypalpro/paypalpro.php @@ -138,6 +138,7 @@ function onTP_Processpayment($data,$vars) "USER" => $this->params->get('pro_api_username'), "PWD" => $this->params->get('pro_api_password'), "SIGNATURE" => $this->params->get('pro_api_signature'), + "CURRENCYCODE" => $data['currency_code'], ); }else{ $pro_values = array( @@ -161,6 +162,7 @@ function onTP_Processpayment($data,$vars) "ZIP" => $data['cardzip'], "COUNTRYCODE" =>$data['cardcountry'], "INVNUM" =>$data['order_id'], + "CURRENCYCODE" => $data['currency_code'], ); } diff --git a/code/plugins/paypalpro/paypalpro/tmpl/form.php b/code/plugins/paypalpro/paypalpro/tmpl/form.php index 9308513..2447e0b 100644 --- a/code/plugins/paypalpro/paypalpro/tmpl/form.php +++ b/code/plugins/paypalpro/paypalpro/tmpl/form.php @@ -116,6 +116,7 @@ function myValidate(f) +