still Posted November 8, 2021 Share Posted November 8, 2021 Hello @202ecommerce and thank you for a great job with paypal integration to Prestashop! I have a problem with the new 5.4.6 version. Our store is selling in Poland but also in Germany. And now all German customers can't pay with paypal because here in Poland we still can't subscribe for paypal plus service and give our German customer the option to pay with this service. Now we are losing lots of our German customers because we can't accept paypal plus from Poland paypal account.. :( Maybe you can give us an option that can disable Paypal plus and use only standard paypal checkout service in countries like Germany, France etc.? Will be waiting for your answer! Link to comment Share on other sites More sharing options...
202ecommerce Posted November 9, 2021 Share Posted November 9, 2021 Hello @still , Thank's for your message. Have you tried to change the default country in Prestashop BO ? Generally Prestashop offer PayPal Plus because default country is Germany in BO. You can choose another one, for example Poland (this information is not displayed in FO), this should allow to use a classic PayPal account for both country. Come back to us if this manipulation does not solve the problem, we will find another solution. Best regards, 1 Link to comment Share on other sites More sharing options...
still Posted November 9, 2021 Author Share Posted November 9, 2021 42 minutes ago, 202ecommerce said: Hello @still , Thank's for your message. Have you tried to change the default country in Prestashop BO ? Generally Prestashop offer PayPal Plus because default country is Germany in BO. You can choose another one, for example Poland (this information is not displayed in FO), this should allow to use a classic PayPal account for both country. Come back to us if this manipulation does not solve the problem, we will find another solution. Best regards, Hello, Thank you for your fast reply! You see our store is running on multistore with 2 different domains (.PL and . DE) and languages. In .DE multistore language and default country must be Germany we can't change it for our localization and marketing reasons. Maybe there is another solution for this problem? Link to comment Share on other sites More sharing options...
202ecommerce Posted November 9, 2021 Share Posted November 9, 2021 Hello @still We understand. Maybe you can try to add a small changes to code of the module. You need to change this line : https://github.com/202-ecommerce/paypal/blob/5.4.6/classes/AbstractMethodPaypal.php#L69 Replace $method = "PPP"; with $method = "EC"; File paypal/classes/AbstractMethodPaypal.php line: 69 and to do the same here : https://github.com/202-ecommerce/paypal/blob/5.4.6/paypal.php#L369 File paypal.php Line 369 Theses changes allows not to use paypal plus (but use standard type of payment) if country by default is Germany. Let us know if it works ! 1 Link to comment Share on other sites More sharing options...
still Posted November 9, 2021 Author Share Posted November 9, 2021 7 hours ago, 202ecommerce said: Hello @still We understand. Maybe you can try to add a small changes to code of the module. You need to change this line : https://github.com/202-ecommerce/paypal/blob/5.4.6/classes/AbstractMethodPaypal.php#L69 Replace $method = "PPP"; with $method = "EC"; File paypal/classes/AbstractMethodPaypal.php line: 69 and to do the same here : https://github.com/202-ecommerce/paypal/blob/5.4.6/paypal.php#L369 File paypal.php Line 369 Theses changes allows not to use paypal plus (but use standard type of payment) if country by default is Germany. Let us know if it works ! Thank you for your great work! Your solution is working! 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