-- 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 ?
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.
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.
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:
image missing https://i.imgur.com/rcbLwo8.png
...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.
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.