cancel
Showing results for 
Search instead for 
Did you mean: 

Currency setting

Contributor

Currency setting

I am trying to set the amount for the purchase to 20.00 CAD but the PayPal portal changes it to 20.00 USD and converts the 20 to CAD (~27). I want the primary selling price to be in CAD and the portal can convert to the buyer's currency as necessary. Here is a snippet from my basic integration. I've tried different field names like currency_code, currency_id and currency. Please help.

 

paypal.Buttons(
{
createOrder: function(data, actions)
{
// Set up the transaction
return actions.order.create(
{
purchase_units:
[
{
reference_id: document.getElementById("<%= HiddenLicenseID.ClientID %>").value,
amount:
{
currency: "CAD",
value: document.getElementById("<%= HiddenPrice.ClientID %>").value,
}
}
]
});
},
onApprove: function (data, actions) {

1 REPLY 1
Contributor

Re: Currency setting

I gave up on this and switched to V2 rest api.