Currency setting
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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) {
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Haven't Found your Answer?
It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.
- "System error. Please try again later" when connecting to paypal sandbox account with my android app in Sandbox Environment
- How do you create subscriptions with PayPal Advanced Checkout? in SDKs
- Why does PayPal redirect to different pages (login vs credit card form) depending on browser mode? in Braintree Server-side Integration (PHP, Java, .NET, Ruby, Python, NodeJS SDKs)
- PayPal Express Error #10413 when people use a discount code on my Magento2 store in PayPal Payments Standard
- How to Setting up the PayPal Payflow Pro on Shopify in Sandbox & Production mode? in Payflow