Jump to content

No pay by card option on mobiles and tablets, but showing on desktop


maxfox44

Recommended Posts

Hi Guys


 


I really hope someone can help, I don't know when this happened, but a customer has just told me about a problem they are having with our checkout.


 


They are saying that when using a mobile device (phone or tablet), the pay by card option isn't showing.  They are only seeing paypal checkout or pay by wire.


 


I have just tested this and it is true, the pay by credit card is only available on desktop checkouts.


 


Prestashop version 1.6.0.9


Paypal module, standard version 3.11.1 


 


I have tried completely removing the paypal module, downloading a fresh copy and re-installing, the same problem remains.


 


Shop url https://www.gustodirect.co.uk


Link to comment
Share on other sites

Yes, there's the express check out button as you can see from image, and if you click to pay you'll get an error because there's no api configured. 

 

 

 

The solution in the link will help you. Is what i did to make things work. 

 

As you say in older projects everything was working fine, i think paypal module changed.

post-1133016-0-80037000-1479730051_thumb.png

Edited by stockw (see edit history)
Link to comment
Share on other sites

I've have a pro account, and in mobile with no modification to paypal module i was getting the express checkout button. If you see the code on line 641, is as the module is made,

if ($use_mobile) {
  $method = ECS;
  } else {
   $method = (int) Configuration::get('PAYPAL_PAYMENT_METHOD');
}

just comment or delete the if condition lines

//if ($use_mobile) {
//   $method = ECS;
//   } else {
   $method = (int) Configuration::get('PAYPAL_PAYMENT_METHOD');
//}
Link to comment
Share on other sites

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...