ItalianBoutiqueShoes Posted December 26, 2014 Share Posted December 26, 2014 Hello, I have the following problem: on checkout the PayPal module is correctly loaded if the currency set is EURO but it say "No payment modules have been installed." if I change it to USD. How can I fix it to let it work with multiple currencies? Link to comment Share on other sites More sharing options...
El Patron Posted December 26, 2014 Share Posted December 26, 2014 If all currencies in your shop are supported by PayPal (eu/usd) then back office-->modules-->payment-->Paypal-->set to customer currency http://screencast.com/t/u5LdSrEfptQ Link to comment Share on other sites More sharing options...
ItalianBoutiqueShoes Posted December 26, 2014 Author Share Posted December 26, 2014 Already done but still not working. I use Presta 1.6.0.9 with PayPal Europe module 3.8.1 in a Multistore. Link to comment Share on other sites More sharing options...
El Patron Posted December 26, 2014 Share Posted December 26, 2014 uhm....well still not working is not much to go on. I run 1609 with 21 currencies without issue. do you have some 3rd party module that is working also at checkout? If so disable it and re-test. Link to comment Share on other sites More sharing options...
ItalianBoutiqueShoes Posted December 26, 2014 Author Share Posted December 26, 2014 I have disabled all and still not working. How can I check all modules that work at checkout? Link to comment Share on other sites More sharing options...
El Patron Posted December 26, 2014 Share Posted December 26, 2014 please message me back office link and login credentials and I can take a look Link to comment Share on other sites More sharing options...
ItalianBoutiqueShoes Posted December 26, 2014 Author Share Posted December 26, 2014 I found the problem: module "Payments to carriers" was disabled. I had to uninstall it and now PayPal work correctly. Now I need a way to disable a method of payment for a carrier. Do you know an other module or you know how can I fix that one? Thanks!! 1 Link to comment Share on other sites More sharing options...
bellini13 Posted December 26, 2014 Share Posted December 26, 2014 probably the easiest way is to just update the payment modules 'hookpayment' function, and add a logic check against the selected carrier. For example... "if carrier id is 1, 2 or 5 then disable paypal module" if you can document your requirements, i can probably write the code that you can use. I just need to know what carrier ids should not be allowed to use Paypal. Link to comment Share on other sites More sharing options...
ItalianBoutiqueShoes Posted December 26, 2014 Author Share Posted December 26, 2014 Thanks a lot! I need as follow: if id_carrier !=20 disable id_payment=94 And please: where I have to put the code :-) Link to comment Share on other sites More sharing options...
bellini13 Posted December 26, 2014 Share Posted December 26, 2014 can you tell me what Payment Module is id_payment 94? Link to comment Share on other sites More sharing options...
ItalianBoutiqueShoes Posted December 27, 2014 Author Share Posted December 27, 2014 Hello, it is Cash on Delivery with Fee. Link to comment Share on other sites More sharing options...
bellini13 Posted December 28, 2014 Share Posted December 28, 2014 You will need to edit the "Cash on Delivery with Fee" module, locate the hookPayment function and add the following code to beginning of that function if ($this->context->cart->id_carrier != 20) return false; so it would look something like this... public function hookPayment($params) { if ($this->context->cart->id_carrier != 20) return false; //leave the existing code alone below } 1 Link to comment Share on other sites More sharing options...
ItalianBoutiqueShoes Posted December 28, 2014 Author Share Posted December 28, 2014 Thanks, it work great!! 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