help on new payment plugin

  • Posts: 45
  • Thank you received: 0
11 years 2 months ago #124768

-- url of the page with the problem -- : www.feeenenridders.be
-- HikaShop version -- : 2.2.1
-- Joomla version -- : 1.5
-- PHP version -- : x.x.x
-- Browser(s) name and version -- : XXXXX x.x.x
-- Error-message(debug-mod must be tuned on) -- : Error_message

Hi,

My customer asked me to implement a payment plugin for a Sofort banking transaction. Underneath you can find a brief description of the steps to be implemented:
1/ authentication to the SOFORT gateway with API Key (post XML file on SOFORT Gateway interface)
2/ response (xml) is received with payment url
3/ customer has to be redirected to this payment URL in order to start a payment transaction
4/ if payment success a XML notification will be received from SOFORT gateway
5/ (optional) transaction details can be requested (XML)
6/ customer is redirected to a success link
I have no knowledge making new Joomla plugins, but as I have programming background I don't think this should be a big problem. Can you please advise how to start building this plugin? Or do you have any knowledge about a similar existing plugin?

Thank you very much for your help!
Wbr, Luc

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

  • Posts: 82868
  • Thank you received: 13377
  • MODERATOR
11 years 2 months ago #124786

Hi,

First, you will find our developer documentation here:
www.hikashop.com/support/documentation/6...r-documentation.html
There are some explanations about payment plugins triggers.
Then, you can look at our existing payment plugins as a base for your payment plugin.
I also invite you to check the documentation relative to creating joomla plugins here:
docs.joomla.org/Portal:Plugin_Development

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

  • Posts: 45
  • Thank you received: 0
11 years 2 months ago #124845

Hi,

Thank you very much for your quick response.
Can you please tell me which existing payment plugin is the best base for my to be developed plugin? Is there any plugin existing with likely the same steps as I described?

Wbr, Luc

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

  • Posts: 82868
  • Thank you received: 13377
  • MODERATOR
11 years 2 months ago #124928

Hi,

You can look at the NETS payment plugin for your base. It also does a request to the payment gateway and get back a transaction id which is then used in the redirect URL to the payment gateway for the customer.
You will find it in the folder plugins/hikashoppayment/nets

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

  • Posts: 72
  • Thank you received: 4
11 years 2 days ago #133908

Hi Nicolas,

If I understand you right this is where I can read more about NETS:
www.hikashop.com/support.html#hk5

but as we see here there is nothing about NETS.
so where? :)

Thanx!

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

  • Posts: 26158
  • Thank you received: 4028
  • MODERATOR
11 years 2 days ago #133915

Hi,

demo.hikashop.com/administrator/index.ph...payment&subtask=edit

You can read the source code of the Nets plugins which is included in all HikaShop packages (starter, essential and business).
You can also take a look at the Nets website and their developer documentation that we used to make the implementation.

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.069 seconds
Powered by Kunena Forum