Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions code/plugins/paypalpro/paypalpro.php
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand All @@ -161,6 +162,7 @@ function onTP_Processpayment($data,$vars)
"ZIP" => $data['cardzip'],
"COUNTRYCODE" =>$data['cardcountry'],
"INVNUM" =>$data['order_id'],
"CURRENCYCODE" => $data['currency_code'],
);

}
Expand Down
1 change: 1 addition & 0 deletions code/plugins/paypalpro/paypalpro/tmpl/form.php
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,7 @@ function myValidate(f)
<input type="hidden" name="chargetotal" value="<?php echo $vars->amount;?>" />
<input type="hidden" name="return" size="10" value="<?php echo $vars->return;?>" />
<input type="hidden" name="plugin_payment_method" value="onsite" />
<input type="hidden" name="currency_code" value="<?php echo $vars->currency_code;?>" />
</div>
</div>
</form>
Expand Down