Paypal without Credit Card

  • Posts: 78
  • Thank you received: 4
  • Hikamarket Multivendor Hikashop Business
1 year 9 months ago #349480

-- HikaShop version -- : 4.7.1
-- Joomla version -- : 3.10.11
-- PHP version -- : 7.4.12

Hello,

We changed to your new paypal plugin (REST API).

However, we would like to have ONLY paypal with this payment method.
On the payment, the plugin let the user to choose between "Paypal" or "Credit card".

We dont want credit card there, since Paypal charge high fees. We use other payment providers for credit cards.
Also when I set the landing page to "Login page", the choice between "Paypal" or Credit card still appears.
This setting of the"Landing page" seems to have no impact at all.

Can you please make this configurable, so that ONLY paypal shows up ? Best would be, that directly the paypal login popup would display.
How can this be achieved ?

Thank you and best regards
Rene

Please Log in or Create an account to join the conversation.

  • Posts: 82863
  • Thank you received: 13372
  • MODERATOR
1 year 9 months ago #349481

Hi,

I checked the documentation at developer.paypal.com/sdk/js/configuration/ and I think you should be able to do that by adding the line:

'disable-funding' => 'card',
after the line:
'client-id' => $this->payment_params->client_id,
in the file plugins/hikashoppayment/paypalcheckout/paypalcheckout.php
Please try it and if it works, we could look into adding it as an extra option.

Please Log in or Create an account to join the conversation.

  • Posts: 78
  • Thank you received: 4
  • Hikamarket Multivendor Hikashop Business
1 year 9 months ago #349501

Hello Nicolas,

Thanks a lot. Yes, it works.
The selection is still shown, but only with a paypal button.
The credit card button is not shown anymore.
I would suggest, to add this to the payment config.

However, it would be better in a customer point of view, if the paypal popup would directly appear.
Now, the user has to click again on the paypal button to get the popup, even he already have choosen this payment method.

You also know a fix for that ?

Thanks a lot and br

Please Log in or Create an account to join the conversation.

  • Posts: 82863
  • Thank you received: 13372
  • MODERATOR
1 year 9 months ago #349502

Hi,

Thanks for your feedback.
We'll look at adding an option to the payment method to be able to configure that without the need of changing the code.

Regarding a way to automatically open the PayPal popup, I couldn't find how to do that in the JS SDK documentation available.
I dug deeper into it and found an answer about a developer from PayPal explaining the situation:
github.com/paypal/paypal-checkout-compon...suecomment-711624526
Basically, it's not possible to automatically open the PayPal login popup. A click from the customer is necessary or the browser's built-in popup blocker would kick in and block the popup from opening.

Please Log in or Create an account to join the conversation.

  • Posts: 148
  • Thank you received: 21
  • Hikashop Business
1 year 8 months ago #349720

Hi,

I had the same need.
I have just reinstalled the latest version of Hikashop Business to make sure I have the latest version.
There was the same problem, but you may not have applied the correction on the download version.

With your fix, I can confirm that it works fine.

I also wanted to know if this option:


...was related to this or something else (and if not I want to know what it is).
Because in my case it doesn't seem to change anything at the moment.

Thanks in advance.

Last edit: 1 year 8 months ago by FDBI.

Please Log in or Create an account to join the conversation.

  • Posts: 82863
  • Thank you received: 13372
  • MODERATOR
1 year 8 months ago #349722

Hi,

As I said, in will be in the next version of HikaShop. The next version will be the 4.7.2
It should be released in 2 weeks.
In the meantime, you can use the patch above yes.

The following user(s) said Thank You: FDBI

Please Log in or Create an account to join the conversation.

  • Posts: 148
  • Thank you received: 21
  • Hikashop Business
1 year 8 months ago #349747

Ok, noted.
Is the option I mentioned ('Funding: credit or debit cards') linked to this update and for this case or to something else?

Please Log in or Create an account to join the conversation.

  • Posts: 82863
  • Thank you received: 13372
  • MODERATOR
1 year 8 months ago #349750

Hi,

There will be a need to add an extra option to be able to force disable the funding methods.

The following user(s) said Thank You: FDBI

Please Log in or Create an account to join the conversation.

  • Posts: 148
  • Thank you received: 21
  • Hikashop Business
1 year 8 months ago #349755

Ok, thank you !

Please Log in or Create an account to join the conversation.

Time to create page: 0.083 seconds
Powered by Kunena Forum