Error when paying with PayPal Plus

  • Posts: 4
  • Thank you received: 0
  • Hikamarket Multivendor Hikashop Business
2 months 1 week ago #337030

-- url of the page with the problem -- : lieferlust.de/
-- HikaShop version -- : HikaShop Business: 4.4.3 & HikaMarket Multivendor: 4.0.0
-- Joomla version -- : 4.0.4
-- PHP version -- : 8.0
-- Browser(s) name and version -- : Google Chrome Version 95.0.4638.69
-- Error-message(debug-mod must be tuned on) -- : ERROR 0 - Class 'JRequest' not found in /home/www/joomla/plugins/hikashoppayment/paypalplus/paypalplus.php:166

Hello, when paying with PayPal Plus, I get a error message after PayPal has been returned to my website and the payment process is not completed. What can I do?

Attachments:

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

  • Posts: 12947
  • Thank you received: 1774
  • MODERATOR
2 months 1 week ago #337083

Hello,

It's probably coming from the fact that you are using the Joomla 4 version, can you edit the code of the following file : "\plugins\hikashoppayment\paypalplus\paypalplus.php"

And change that line :

$vars[$key] = JRequest::getString($key);

By :
$vars[$key] = hikaInput::get()->getString($key);

And test it again ? Thank you.

Kind regards,
Mohamed.

The following user(s) said Thank You: evilserch

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

  • Posts: 4
  • Thank you received: 0
  • Hikamarket Multivendor Hikashop Business
2 months 1 week ago #337095

Hello Mohamed, thank you for the quick help. It worked.

Kind regards,
Stergios

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

Time to create page: 0.077 seconds
Powered by Kunena Forum