Jump to content

2 Currencies with paypal?


aiteampl

Recommended Posts

Hi,

 

my paypal supports 3 currencies GBP, EUR, USD

 

they are not converted, but i have 3 different balances in currencies.

 

till now i was using two separate websites to get payments but now i want to put everything in PS.

 

but in my prestashop paypal module supports only one currency! and i have no idea how or what to do.

 

anybody can help to pass variable with currency from front office to checkout?

 

thanks

Link to comment
Share on other sites

pp, and pp express 2.8.5 modules validate the cart's iso currency and if valid, passes the currency iso code to paypal.

 

your paypal api determines what to do with currency, i.e. what to do with currency you do not hold. Make sure to review your paypal account api.

 

-------

update.

 

Good for you!

Link to comment
Share on other sites

  • 1 month later...

I also went to currency restrictions in payment tab - and have changed to customer currency... but issue is if product price is 2000 INR [iNR is our default currency] then instead of converting it into 40 USD, Paypal takes directly as 2000 USD while making invoice. What is to be done?

 

 

 

pp, and pp express 2.8.5 modules validate the cart's iso currency and if valid, passes the currency iso code to paypal.

 

your paypal api determines what to do with currency, i.e. what to do with currency you do not hold. Make sure to review your paypal account api.

 

-------

update.

 

Good for you!

Link to comment
Share on other sites

I also went to currency restrictions in payment tab - and have changed to customer currency... but issue is if product price is 2000 INR [iNR is our default currency] then instead of converting it into 40 USD, Paypal takes directly as 2000 USD while making invoice. What is to be done?

 

This is what I am aware of, please don't take it as gospel as I haven't worked on paypal since I installed it many moons ago.

 

goto:

 

back office-->payment-->payment module restrictions

 

you should NOT set paypal to default site currency, or default customer currency if PayPal does does not accept that currency. (INR). Your would then to select paypal currencies in 'payment module restricitions' to only those defined in your site, dollar, euro, pound etc. (again those supported by paypal)

 

PayPal will convert a supported currency passed by prestashop to your default paypal account currency. You can add different (allowed) currencies and it will keep it in that currency. i.e. default account USD, you could add Euros, so if you site send payment in euro's, paypal will hold in currencies.

  • Like 1
Link to comment
Share on other sites

Thanks but issue is, unlike our other gateways [Moneybookers and DirecPay] Paypal is allowing to select only one option. So i can select either USD or EUR or GBP etc or Customer Currency or Shop default currency. Ours is

Version 1.3.3.0 - 3.931s

 

This is what I am aware of, please don't take it as gospel as I haven't worked on paypal since I installed it many moons ago.

 

goto:

 

back office-->payment-->payment module restrictions

 

you should NOT set paypal to default site currency, or default customer currency if PayPal does does not accept that currency. (INR). Your would then to select paypal currencies in 'payment module restricitions' to only those defined in your site, dollar, euro, pound etc. (again those supported by paypal)

 

PayPal will convert a supported currency passed by prestashop to your default paypal account currency. You can add different (allowed) currencies and it will keep it in that currency. i.e. default account USD, you could add Euros, so if you site send payment in euro's, paypal will hold in currencies.

Link to comment
Share on other sites

  • 2 months later...
  • 4 weeks later...
  • 2 weeks later...

Hi, yes I activated 4 currency. I mean like Handcraft said above, I can only select either USD or EUR or GBP etc or Customer Currency or Shop default currency.

 

Should I select Customer Currency to let him pay in the currency he choosed in the shop?

 

Post 5 and 6 above worried me about selecting such options. (I'm running PP 2.6 and prestashop 1.4.4)

Link to comment
Share on other sites

Dave......dont do that.....You will lose a lot in currency conversion. Even Paypal suggested us not to have that option. So now we have chosen option of USD n all our customers have to pay in USD.

 

Hi, yes I activated 4 currency. I mean like Handcraft said above, I can only select either USD or EUR or GBP etc or Customer Currency or Shop default currency.

 

Should I select Customer Currency to let him pay in the currency he choosed in the shop?

 

Post 5 and 6 above worried me about selecting such options. (I'm running PP 2.6 and prestashop 1.4.4)

Link to comment
Share on other sites

Reading post 5, I was worried about being a bug that if they checkout 1000 USD, instead of converting to ~800 Euro paypal would take 1000 Euro without converting.

 

I am now wondering how Customer Currency flag works.

 

I have 4 currencies in my shop so customers can select it in the frontend and browse products with the preferred currency.

At the checkout they should be able to pay only with default currency of the shop (if defualt currency is flagged) or only with the currency they selected in the shop (if the customer currency is flagged)

 

As the currenices rate is set in the backend I can adjust a little to cover fees by the paypal conversion. If it work in this way everything should be ok.

Link to comment
Share on other sites

  • 6 months later...

Hi friends, I like prestashop.

There are of course different bugs in it.

But in general, the situation saved by good guys, many of which are free spread their achievements.

I am happy to be part of this community.

 

Here's my solution to the problem of the two currencies in paypal.

 

Search file:

 

/modules/paypal/express_checkout/paypal_express_checkout.php

 

around 105 lines

 

$this->currency = new Currency((int)$this->context->cart->id_currency);

 

And change

 

$this->currency = new Currency((int)$this->context->cart->id_currency=7);

 

7 = id_currency dollar

 

I hope you will help my decision.

Thank`s :)

 

This work on PS 1.4.9

Edited by Demos (see edit history)
  • Like 1
Link to comment
Share on other sites

  • 2 years later...

AFTER SEVERAL HOURS LOOKING FOR A SOLUTION FINALLY FOUND IT...SO IF SOMEBODY HAS PROBLEM SETTING UP PAYPAL TO SHOW CURRENCY BASED ON USER SELECTION RATHER THEN PRESTASHOP DEFAULT CURRENCY THEN HERE IS THE SOLUTION....

 

BACK OFFICE => MODULES => PAYMENT=> CURRENCY RESTRICTION => SET PAYPAL FROM SHOP DEFAULT CURRENCY TO CUSTOMER CURRENCY.

 

PS: PAYMENT IS NOT A MODULE BUT A SUBCATEGORY OF MODULES!!

 

THAT'S ALL ;)

  • Like 1
Link to comment
Share on other sites

  • 1 year later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...