Payfast Payment plugin Joomla 4

  • Posts: 94
  • Thank you received: 1
  • Hikashop Business
2 months 2 weeks ago #347980

-- HikaShop version -- : 4.7.0

Hi

I have been using Hikashop for years on my Joomla 3 site, I am wanting to move to Joomla 4 and as such I have started setting up a test J4 site to see if all plugins are working correctly.
We currently use Payfast as our payment gateway, I however see no plugin for Payfast on the plugin list on J4, am I missing something or is Payfast not supported as a payment gateway on J4

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

  • Posts: 78215
  • Thank you received: 12358
  • MODERATOR
2 months 2 weeks ago #347986

Hi,

The PayFast plugin has been removed from the HikaShop installation package with HikaShop 4.6.2. It conflicted with the PayFast plugin provided by PayFast themselves and their plugin is better overall :
support.payfast.co.za/portal/en/kb/artic...ayfast-with-hikashop
However, while I was checking the situation of that plugin for you, I saw in their code a problem for the support of Joomla 4. I've made a pull request so that they can update the plugin:
github.com/PayFast/mod-hikashop/pull/1
You can manually do the modification after installing the plugin on your website if they don't integrate the pull request in a timely manner.

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

  • Posts: 94
  • Thank you received: 1
  • Hikashop Business
2 months 2 weeks ago #348005

Hi Nicolas

Like always your service is amazing.

I have installed their plugin and made the changes you sent them in the pull request.
When trying to checkout using the PayFast payment method I however get the following error after I click "finish" on the checkout page.

0 Class 'JRequest' not found

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

  • Posts: 78215
  • Thank you received: 12358
  • MODERATOR
2 months 2 weeks ago #348008

Hi,

Thanks for the feedback. Ideally, when you get such error, you need to activate the debug setting of the joomla configuration to get the full error message.
However, I think I know what is the problem. I've made an extra patch for the issue after clicking the finish button:
github.com/PayFast/mod-hikashop/pull/1/files

The following user(s) said Thank You: SnoozeULooze.co.za

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

  • Posts: 94
  • Thank you received: 1
  • Hikashop Business
2 months 2 weeks ago #348026

Hi Nicolas

you were 100% correct, thank you for the fix, it is working correctly now.

The following user(s) said Thank You: nicolas

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

  • Posts: 4
  • Thank you received: 0
  • Hikashop Business
1 month 3 weeks ago #348572

Thank you for posting this. It helped me resolve the same issue on my side.

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

Time to create page: 0.072 seconds
Powered by Kunena Forum