Krsna18 Posted August 10, 2020 Share Posted August 10, 2020 I am using Prestashop 1.7.6.4 and Paypal v5.1.2. The default currency of my store is INR (Indian Rupees). My Paypal account is a US account. I changed the code in paypal.php on line 906 to force $mode_id = 2 (which is the id for US currency). The conversion is done correctly and payment is charged in USD without any hitch. However, I get an e-mail from Prestashop stating that there was a payment error. Prestashop captured the payment currency incorrectly and that seems to be the problem. How do I ensure Prestashop captures the currency returned by Paypal correctly? The Paypal log itself shows "Payment accepted" under Message (AIP PayPal/Braintree response). I contacted 202 ecommerce and they have asked me to contact Prestashop. Link to comment Share on other sites More sharing options...
Krsna18 Posted August 11, 2020 Author Share Posted August 11, 2020 Hello @ndiaga At the moment my store is only for India and hence I do not want multiple currencies. However, there are people without Indian credit/debit cards who want the order shipped within India. I have 2 payment processors, one is able to accept only Indian currency and does not accept cards outside of India. The second is Paypal and the Paypal account I have is only for US dollar. I do not want to force currency conversion unless Paypal is used. How do I make admin orders, order history, etc. manage this once payment in Paypal is made? Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now