Eutanasio Posted February 27, 2014 Share Posted February 27, 2014 (edited) HI, Does someone know where is the total amount of the order to be sent to PayPal defined on this file /modules/paypal/express_checkout/paypal_express_checkout.php ? I'd like to make a manual exchange rate as it doesn't work for me the configuration from the admin. Thanks! Edited March 4, 2014 by omar2886 (see edit history) Link to comment Share on other sites More sharing options...
Eutanasio Posted March 4, 2014 Author Share Posted March 4, 2014 (edited) Finally I did it myself.... PayPal modue v.3.6.5 Set the currency (in my case, as set in my admin panel, is 3) on line 125: if ($cart_currency !== $currency_module) { $this->context->cart->id_currency = 3; $this->context->cart->update(); } Make total amount exchange conversion on line 291: $fields['L_PAYMENTREQUEST_0_AMT'.$index] = Tools::ps_round($product['price_wt'] / 10.7, $this->decimals); Edited March 4, 2014 by omar2886 (see edit history) 1 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