notification url

  • Posts: 252
  • Thank you received: 1
5 years 5 months 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: 5 years 5 months ago by twscott.

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

  • Posts: 81484
  • Thank you received: 13062
  • MODERATOR
5 years 5 months 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.057 seconds
Powered by Kunena Forum