Implementing Custom Payment Plugin

  • Posts: 15
  • Thank you received: 1
11 years 10 months ago #83322

Hi.
I recently tried to create a custom payment plugin, following the structure of the available plugins on HikaShop
What I want to ask is, how do I install the plugin, so that both Joomla! and HikaShop recognize my custom plugin?
Does it have to deal with the .xml file? What information or code snippet that I should add?

p.s. I try to follow the Bank Transfer plugin from HikaShop. So it has all the files like the bank transfer plugin, except that I don't have the pluginname_configuration file, since I don't create any custom configuration on the backend site yet.

Replies are very helpful. Thanks! :D

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

  • Posts: 12953
  • Thank you received: 1778
11 years 10 months ago #83401

Hi,

1. You'll have to change the xml file.

2. You'll just have to ZIP all you plugin's files and install it through the Joomla extension manager :).

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

  • Posts: 15
  • Thank you received: 1
11 years 10 months ago #83414

what part on the xml that I should change?
I noted that payment plugin xml is slightly different from the other standalone plugin

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

  • Posts: 12953
  • Thank you received: 1778
11 years 10 months ago #83422

If you want to, you can maybe send me a ZIP of your plugin file, then I'll do the xml file for you.

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

  • Posts: 15
  • Thank you received: 1
11 years 10 months ago #83428

okay then , here you go :D

Last edit: 11 years 10 months ago by krisnasim.

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

  • Posts: 12953
  • Thank you received: 1778
11 years 10 months ago #83429

you didn't attached the ZIP :).

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

  • Posts: 15
  • Thank you received: 1
11 years 10 months ago #83433

why I can't attach it ? :|

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

  • Posts: 12953
  • Thank you received: 1778
11 years 10 months ago #83435

Ok, My advice would be to take the xml file of the paypal payment method and to switch all "Paypal" word by your new payment method name.

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

  • Posts: 15
  • Thank you received: 1
11 years 10 months ago #83440

I didn't notice that I compress it into .rar instead of .zip
haha :D
joomla can't read .rar compression?
anyway thanks for the support, although this is still holiday time

The following user(s) said Thank You: Mohamed Thelji

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

Time to create page: 0.076 seconds
Powered by Kunena Forum