Payment Plugin not showing up in Hikashop Config

  • Posts: 1
  • Thank you received: 0
8 years 3 months ago #246852

Hey everyone!

I'm really sorry for this type of question however I can't find a helpful answer on it.

I'm developing a payment gateway plugin for HikaShop Business 2.6.3, however my plugin doesn't show up on the HikaShop payment configuration page. I have tried to install the plugin with the Joomla Discover feature and also with a zipped installer. Both ways it was installed successfully, I activated the plugin in the plugin settings, but it doesn't show up on the page. I have tried it on the site that will use the gateway and also tried with a fresh install (Joomla and HikaShop both clean new installs). Nothing.

After that I tried these steps with the sample payment plugin that can be found on the github repo ( github.com/HikaShop/sample-payment-plugin ), however it does the same: installed successfully, but not showing in the HikaShop configuration page.

I have checked the joomla user rights, but I can do everything on every element of the page as I'm a Super User.

Am I doing something wrong? Or it's possibly a bug?

Thanks for your help!

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

  • Posts: 26158
  • Thank you received: 4028
  • MODERATOR
8 years 3 months ago #246859

Hi,

The payment plugins are using the trigger "onPaymentDisplay" to add their instances in the payment list.
That trigger is automatically handle by the HikaShop Payment Plugin Interface but you need to specify the plugin name in his configuration.
See line 16 in the sample plugin :
github.com/HikaShop/sample-payment-plugi...ster/example.php#L16

You need to be sure that the name is set according to the plugin name.
The plugin class name should also be according to the plugin name.

You can add some debug trace in your plugin in order to be sure that it is right instanciated and called.
Please also be sure that you have configured one published instance of your plugin in the HikaShop payment methods. in your backend.

Regards,


Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.

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

Time to create page: 0.057 seconds
Powered by Kunena Forum