notification url

  • Posts: 252
  • Thank you received: 1
6 years 2 weeks ago #300121

-- HikaShop version -- : 4.0.0
-- Joomla version -- : 3.8
-- PHP version -- : 7.x

Hi,
We are implement a payment plug in, but the bank ask for a notification url for their off-line transaction.
I have no idea about what it could be in hikashop. Could you show me what the url could be and if there is a sample code, that will be much more helpful.

Thanks in advance
best regards

Last edit: 6 years 2 weeks ago by twscott.

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

  • Posts: 82868
  • Thank you received: 13375
  • MODERATOR
6 years 2 weeks ago #300137

Hi,

I would recommend to check the example payment plugin we provide on our developer documentation:
www.hikashop.com/support/documentation/6...on.html#howtopayment
You can see how to get the notification URL on line 41.
That way, when the payment gateway calls that URL in order to notify your plugin of a payment, you can process it in the onPaymentNotification function of the plugin (see line 115 and below)

The following user(s) said Thank You: twscott

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

Time to create page: 0.061 seconds
Powered by Kunena Forum