PayPal Checkout selected but on Finish you get Please select a payment method

  • Posts: 27
  • Thank you received: 4
10 months 3 weeks ago #357856

-- url of the page with the problem -- : AspirationImages.com
-- HikaShop version -- : 5.0.2
-- Joomla version -- : 4.4.1
-- PHP version -- : 8.2.11
-- Browser(s) name and version -- : Safari 17.2
-- Error-message(debug-mod must be tuned on) -- : Please select a payment method

Hi,
I have configured the PayPal Checkout plugin and it says Successfully Connected. However when you select Finish you don't go to a payment area, You just get "Please select a payment method". I have tried products of different values. Any ideas please?

Bob

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

  • Posts: 82863
  • Thank you received: 13372
  • MODERATOR
10 months 3 weeks ago #357859

Hi,

It could be that the credentials you provided don't match with how you configured the "sandbox" setting in the payment method.
A live PayPal account can only be used with the sandbox setting turned off and a with the setting turned on, you need to use a PayPal sandbox account.
But it could also be a javascript error from something else preventing the PayPal javascript from displaying the payment buttons below that text.
So first thing is to check that sandbox account.
Then, if that is correct, on the last page with that text, open the console of your browser and look at the javascript error messages. they should indicate where the problem is. If you can provide what you have in the console, we should be able to tell you what to do.

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

  • Posts: 27
  • Thank you received: 4
10 months 3 weeks ago #357867

Thanks,
The Sandbox was Off when I installed it.
Attached is a console log from the Safari browser, PayPalError.txt
I tried the issue with both Safari and Chrome and got the same result of "Please Select a payment method"
I tried also the Mac Console. The big thing was that the Mac OS console crashed on both occasions as soon as I hit the Finish button.
The Exception Type was EXC_BAD_INSTRUCTION (SIGILL) see attached

Attachments:

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

  • Posts: 27
  • Thank you received: 4
10 months 3 weeks ago #357870

A bit more information. The error on the Browser console seems to be:

[Error] Failed to load resource: the server responded with a status of 400 () (js, line 0)
www.paypal.com/sdk/js?client-id=AdcbU7Dq...t=capture&debug=true
[Error] ReferenceError: Can't find variable: paypal
Global Code (confirm.html:191)

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

  • Posts: 27
  • Thank you received: 4
10 months 3 weeks ago #357871

SOLVED.
1. Find all Hikashop Payment plugins in Manage Extensions and uninstall any which don't have dates or you aren't using.
2. Reinstall Hikashop 5.0.2 and most should have versions and dates. (Does not affect data.)
3. The correct PayPal Payment plugin in Australia at least is PayPal Checkout v 5.0.2
4. Get new credentials from PayPal as the old ones don't work.
It seems OK now.

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

  • Posts: 82863
  • Thank you received: 13372
  • MODERATOR
10 months 3 weeks ago #357872

Hi,

I can see two issues that are relevant in there:

[Error] Error: Expected client-id parameter in sdk url
	(anonymous function) (Script Element 59:2:62789)
[Error] SyntaxError: Unexpected identifier 'Please'. Expected ';' after variable declaration.
	(anonymous function) (confirm.html:289)

These indicateur the client ID is missing in the settings of the PayPal Checkout payment method and that a custom translation override is causing a problem with the JavaScript code of the PayPal Checkout payment plugin. It seems similar to this issue:
www.hikashop.com/support/forum/payment-m...oken-identifier.html

Last edit: 10 months 3 weeks ago by nicolas.

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

Time to create page: 0.069 seconds
Powered by Kunena Forum