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.
- Shipping options are not appearing in my cart through link or button. in PayPal Payments Standard
- Change the button from Sandbox to Production in REST APIs
- Thank you page after payment with paypal buttons in PayPal Payments Standard
- Enable Pay later without credit in SDKs
- When I do PayPal capture Order, I keep on getting Invalid Request Connection in REST APIs