- Posts: 28
- Thank you received: 4
PayPal Checkout selected but on Finish you get Please select a payment method
- aspirationimages
-
Topic Author
- Offline
Less
More
2 years 9 months ago #357856
by aspirationimages
PayPal Checkout selected but on Finish you get Please select a payment method was created by aspirationimages
-- 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
-- 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.
2 years 9 months ago #357859
by nicolas
Replied by nicolas on topic PayPal Checkout selected but on Finish you get Please select a payment method
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.
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.
- aspirationimages
-
Topic Author
- Offline
Less
More
- Posts: 28
- Thank you received: 4
2 years 9 months ago #357867
by aspirationimages
Replied by aspirationimages on topic PayPal Checkout selected but on Finish you get Please select a payment method
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
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
Please Log in or Create an account to join the conversation.
- aspirationimages
-
Topic Author
- Offline
Less
More
- Posts: 28
- Thank you received: 4
2 years 9 months ago #357870
by aspirationimages
Replied by aspirationimages on topic PayPal Checkout selected but on Finish you get Please select a payment method
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)
[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.
- aspirationimages
-
Topic Author
- Offline
Less
More
- Posts: 28
- Thank you received: 4
2 years 9 months ago #357871
by aspirationimages
Replied by aspirationimages on topic PayPal Checkout selected but on Finish you get Please select a payment method
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.
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.
2 years 9 months ago - 2 years 9 months ago #357872
by nicolas
Replied by nicolas on topic PayPal Checkout selected but on Finish you get Please select a payment method
Hi,
I can see two issues that are relevant in there:
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
I can see two issues that are relevant in there:
Code:
[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: 2 years 9 months ago by nicolas.
Please Log in or Create an account to join the conversation.
Time to create page: 0.318 seconds