Please select a payment method ???

  • Posts: 15
  • Thank you received: 1
  • Hikashop Essential
10 months 2 weeks ago #357432

-- url of the page with the problem -- : www.bujinkan-austria.at/shop
-- HikaShop version -- : 5.0.2
-- Joomla version -- : 5.0.1
-- PHP version -- : 8.2.6
-- Browser(s) name and version -- : Chrome 119.0.6045.200
-- Error-message(debug-mod must be tuned on) -- : Please select a payment method

Error in the PayPal payment plugin

Hello, after I place an order and click on pay with PayPal I get this error message: "Please select a payment method" and the rest of the page is white!

I use the plugin "Hikashop Paypal Checkout payment plugin" and it is shown as "connected"!

I get an email that an order has been placed, but there is no payment possible!

What is the error here? Please help!

Kind regards
Markus

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

  • Posts: 82683
  • Thank you received: 13337
  • MODERATOR
10 months 2 weeks ago #357433

Hi,

This issue can happen either :
- if the credentials you provided in the payment method are incorrect
- if there is a javascript error on the page

Now, I tried to look at the issue, but I'm not able to reach that page. I think the user account I created need some kind of activation from your end.
Would you be able to provide a user account to be able to check on the issue ?

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

  • Posts: 15
  • Thank you received: 1
  • Hikashop Essential
10 months 2 weeks ago #357438

Dear nicolas, i send you a pm!

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

  • Posts: 82683
  • Thank you received: 13337
  • MODERATOR
10 months 2 weeks ago #357442

Hi,

The issue comes from a translation override you made on the translation key PAYMENT_REQUEST_REFUSED_BY_PAYPAL_CANCEL_URL
You've added a title attribute with double quotes instead of simple quotes, which breaks the javascript of the PayPal Checkout plugin:
i.imgur.com/4b9Mbai.png
This results in a javascript error ( i.imgur.com/URlYqYO.png ) when the browser tries to run the PayPal Checkout javascript and the browser has to stop the initialisation of the buttons because of that.

The following user(s) said Thank You: MBwebdesign

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

  • Posts: 15
  • Thank you received: 1
  • Hikashop Essential
10 months 2 weeks ago #357447

Hi, i cant find this translation key?!

In the german language file:
PAYMENT_REQUEST_REFUSED_BY_PAYPAL_CANCEL_URL="The payment request was refused by PayPal. <a href='%s'>Please click here to return to the checkout.</a>"

in the english language file:
PAYMENT_REQUEST_REFUSED_BY_PAYPAL_CANCEL_URL="The payment request was refused by PayPal. <a href='%s'>Please click here to return to the checkout.</a>"

Where do I have to change this?

Last edit: 10 months 2 weeks ago by MBwebdesign.

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

  • Posts: 82683
  • Thank you received: 13337
  • MODERATOR
10 months 2 weeks ago #357449

Hi,

Go in the HikaShop configuration page. There, under the Languages tab, edit your language file.
There, you'll have an interface with the original translation file on the left and the overrides on the right.
The translation key will be on the left side, and potentially on the right side too, and you could have changed either of them.

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

  • Posts: 15
  • Thank you received: 1
  • Hikashop Essential
10 months 2 weeks ago #357464

Hi, the problem was the plugin "Seofli"!
Now everything is working.
Thank you very much!
Best regards
Markus

The following user(s) said Thank You: nicolas

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

  • Posts: 15
  • Thank you received: 1
  • Hikashop Essential
10 months 2 weeks ago #357541

Hello, unfortunately I had to realize that there is now a problem with the registration. As soon as you click on Register, a blank page appears!

www.bujinkan-austria.at/shop/checkout/activate_page?lang=de

Also the Payment isnt working again!!!
www.bujinkan-austria.at/shop/checkout/confirm

What could be the reason for this?

Please help!!!

PS: I changed to HiksShop Essential!

Last edit: 10 months 2 weeks ago by MBwebdesign.

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

  • Posts: 82683
  • Thank you received: 13337
  • MODERATOR
10 months 2 weeks ago #357546

Hi,

This is the activation page.
HikaShop sends to Joomla a message to be displayed on that page.
However, it seems your template doesn't display Joomla messages:
www.hikashop.com/support/documentation/6...issues.html#messages
So that's an issue you should report to your template provider as it's the template which is supposed to display the message there.

However, one simple way to circumvent the problem is to turn off the user account validation in the settings of the joomla user manager. That way, the users will be directly logged in after the registration.

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

  • Posts: 15
  • Thank you received: 1
  • Hikashop Essential
10 months 2 weeks ago #357552

Hi, i disabled the account validation. The problem with the blank page on payment is the same!?!

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

  • Posts: 15
  • Thank you received: 1
  • Hikashop Essential
10 months 2 weeks ago #357563

I got back to the old PayPal Plugin and everything works fine!

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

Time to create page: 0.085 seconds
Powered by Kunena Forum