[Skip to main content](#vessel-content)

#   onPaymentNotification event is not triggering

##

- **[ChristianLocal](/forum/user/35348-christianlocal "View ChristianLocal's Profile")**
- [![ChristianLocal's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/35348-christianlocal "View ChristianLocal's Profile") Topic Author
- [ Offline](/forum/user/35348-christianlocal)

Less More

- Posts: 48
- Thank you received: 0
-
-

10 years 5 months ago [\#238162](#238162) by [ChristianLocal](/forum/user/35348-christianlocal "View ChristianLocal's Profile")  *[onPaymentNotification event is not triggering](/forum/31-development/884142-onpaymentnotification-event-is-not-triggering#238162 "-- HikaShop version -- : 2.6.2 -- Joomla version -- : 3.5 -- PHP version -- : 6 -- Browser(s) name and version -- : All -- Error-message(debug-mod must be tuned on) -- : The onPaymentNotification event is not triggering at hikashop type custom plugin  I have created a custom plugin, pluggin group - hikashop. The onPaymentNotification event is not triggering.")* was created by *[ChristianLocal](/forum/user/35348-christianlocal "View ChristianLocal's Profile")*

-- HikaShop version -- : 2.6.2
-- Joomla version -- : 3.5
-- PHP version -- : 6
-- Browser(s) name and version -- : All
-- Error-message(debug-mod must be tuned on) -- : The onPaymentNotification event is not triggering at hikashop type custom plugin

I have created a custom plugin, pluggin group - hikashop. The onPaymentNotification event is not triggering.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMxLWRldmVsb3BtZW50Lzg4NDE0Mi1vbnBheW1lbnRub3RpZmljYXRpb24tZXZlbnQtaXMtbm90LXRyaWdnZXJpbmc/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86289
- Thank you received: 14265
-
-

10 years 5 months ago [\#238177](#238177) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[onPaymentNotification event is not triggering](/forum/31-development/884142-onpaymentnotification-event-is-not-triggering#238177 "-- HikaShop version -- : 2.6.2 -- Joomla version -- : 3.5 -- PHP version -- : 6 -- Browser(s) name and version -- : All -- Error-message(debug-mod must be tuned on) -- : The onPaymentNotification event is not triggering at hikashop type custom plugin  I have created a custom plugin, pluggin group - hikashop. The onPaymentNotification event is not triggering.")*

Hi,

That trigger is only triggered for payment plugins (of the group hikashoppayment) and only when the system receives a payment notification for that payment plugin.

If you want your plugin to be triggered when the payment is done (meaning that the payment plugin you're using received the payment notification and confirmed the corresponding order), you actually want to use the onAfterOrderUpdate trigger and change the $order-&gt;order_status is equal to "confirmed".

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMxLWRldmVsb3BtZW50Lzg4NDE0Mi1vbnBheW1lbnRub3RpZmljYXRpb24tZXZlbnQtaXMtbm90LXRyaWdnZXJpbmc/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[ChristianLocal](/forum/user/35348-christianlocal "View ChristianLocal's Profile")**
- [![ChristianLocal's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/35348-christianlocal "View ChristianLocal's Profile") Topic Author
- [ Offline](/forum/user/35348-christianlocal)

Less More

- Posts: 48
- Thank you received: 0
-
-

10 years 5 months ago [\#238265](#238265) by [ChristianLocal](/forum/user/35348-christianlocal "View ChristianLocal's Profile")  Replied by *[ChristianLocal](/forum/user/35348-christianlocal "View ChristianLocal's Profile")* on topic *[onPaymentNotification event is not triggering](/forum/31-development/884142-onpaymentnotification-event-is-not-triggering#238265 "-- HikaShop version -- : 2.6.2 -- Joomla version -- : 3.5 -- PHP version -- : 6 -- Browser(s) name and version -- : All -- Error-message(debug-mod must be tuned on) -- : The onPaymentNotification event is not triggering at hikashop type custom plugin  I have created a custom plugin, pluggin group - hikashop. The onPaymentNotification event is not triggering.")*

Thanks Nicolas for your quick reply.

So both events are for hikashoppayment group plugin. Can onPaymentNotification event trigger from hikashop group plugin? Actually, I need trigger from a hikashop group plugin after payment confirm.

Otherwise, Do I need to update the payment plugins?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMxLWRldmVsb3BtZW50Lzg4NDE0Mi1vbnBheW1lbnRub3RpZmljYXRpb24tZXZlbnQtaXMtbm90LXRyaWdnZXJpbmc/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Jerome](/forum/user/80-jerome "View Jerome's Profile")**
- [![Jerome's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar80.png)](/forum/user/80-jerome "View Jerome's Profile")
- [ Offline](/forum/user/80-jerome)
- HikaShop core developer

Less More

- Posts: 26394
- Thank you received: 4078
-
- [](http://obsi.dev)
-

10 years 5 months ago [\#238267](#238267) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[onPaymentNotification event is not triggering](/forum/31-development/884142-onpaymentnotification-event-is-not-triggering#238267 "-- HikaShop version -- : 2.6.2 -- Joomla version -- : 3.5 -- PHP version -- : 6 -- Browser(s) name and version -- : All -- Error-message(debug-mod must be tuned on) -- : The onPaymentNotification event is not triggering at hikashop type custom plugin  I have created a custom plugin, pluggin group - hikashop. The onPaymentNotification event is not triggering.")*

Hi,

> That trigger is only triggered for payment plugins (of the group hikashoppayment) and only when the system receives a payment notification **for that** payment plugin.

Only the selected plugin will be trigger.
So there is just one plugin which is called.

Regards,

---

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

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMxLWRldmVsb3BtZW50Lzg4NDE0Mi1vbnBheW1lbnRub3RpZmljYXRpb24tZXZlbnQtaXMtbm90LXRyaWdnZXJpbmc/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[jose94h](/forum/user/43963-jose94h "View jose94h's Profile")**
- [![jose94h's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/43963-jose94h "View jose94h's Profile")
- [ Offline](/forum/user/43963-jose94h)

Less More

- Posts: 5
- Thank you received: 0
-
-

10 years 3 months ago [\#244608](#244608) by [jose94h](/forum/user/43963-jose94h "View jose94h's Profile")  Replied by *[jose94h](/forum/user/43963-jose94h "View jose94h's Profile")* on topic *[onPaymentNotification event is not triggering](/forum/31-development/884142-onpaymentnotification-event-is-not-triggering#244608 "-- HikaShop version -- : 2.6.2 -- Joomla version -- : 3.5 -- PHP version -- : 6 -- Browser(s) name and version -- : All -- Error-message(debug-mod must be tuned on) -- : The onPaymentNotification event is not triggering at hikashop type custom plugin  I have created a custom plugin, pluggin group - hikashop. The onPaymentNotification event is not triggering.")*

Hello.

I'm having the same problem as you. I'm sure the onPaymentNotification() funtion is not triggering because I received the HTT POST information in a log file. Could you solve this problem?

Thanks.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMxLWRldmVsb3BtZW50Lzg4NDE0Mi1vbnBheW1lbnRub3RpZmljYXRpb24tZXZlbnQtaXMtbm90LXRyaWdnZXJpbmc/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[ChristianLocal](/forum/user/35348-christianlocal "View ChristianLocal's Profile")**
- [![ChristianLocal's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/35348-christianlocal "View ChristianLocal's Profile") Topic Author
- [ Offline](/forum/user/35348-christianlocal)

Less More

- Posts: 48
- Thank you received: 0
-
-

10 years 2 months ago -  10 years 2 months ago [\#247078](#247078) by [ChristianLocal](/forum/user/35348-christianlocal "View ChristianLocal's Profile")  Replied by *[ChristianLocal](/forum/user/35348-christianlocal "View ChristianLocal's Profile")* on topic *[onPaymentNotification event is not triggering](/forum/31-development/884142-onpaymentnotification-event-is-not-triggering#247078 "-- HikaShop version -- : 2.6.2 -- Joomla version -- : 3.5 -- PHP version -- : 6 -- Browser(s) name and version -- : All -- Error-message(debug-mod must be tuned on) -- : The onPaymentNotification event is not triggering at hikashop type custom plugin  I have created a custom plugin, pluggin group - hikashop. The onPaymentNotification event is not triggering.")*

My developer has finished coding the plugin but I am worried that when Hikashop updates the version, the plugin will break. I am using the authorize.net plugin. Can you send me the payment plugin by itself so when Hikashop updates I can reinstall the authorize.net plugin?

Last edit: 10 years 2 months ago by [ChristianLocal](/forum/user/35348-christianlocal "View ChristianLocal's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMxLWRldmVsb3BtZW50Lzg4NDE0Mi1vbnBheW1lbnRub3RpZmljYXRpb24tZXZlbnQtaXMtbm90LXRyaWdnZXJpbmc/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86289
- Thank you received: 14265
-
-

10 years 2 months ago -  10 years 2 months ago [\#247080](#247080) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[onPaymentNotification event is not triggering](/forum/31-development/884142-onpaymentnotification-event-is-not-triggering#247080 "-- HikaShop version -- : 2.6.2 -- Joomla version -- : 3.5 -- PHP version -- : 6 -- Browser(s) name and version -- : All -- Error-message(debug-mod must be tuned on) -- : The onPaymentNotification event is not triggering at hikashop type custom plugin  I have created a custom plugin, pluggin group - hikashop. The onPaymentNotification event is not triggering.")*

Hi,

Your developer could simply rename the plugin to authorize2 instead of authorize and it would still work after each update.
If you need to get the current version of the original plugin, download the install package of HikaShop on our website and open it on your computer. There, go in the folder back/extensions/plg_hikashoppayment_authorize/ and you'll find the original files of the plugin.
In fact, you should even still have them in administrator/components/com_hikashop/extensions/plg_hikashoppayment_authorize/ on your website.

Last edit: 10 years 2 months ago by [nicolas](/forum/user/63-nicolas "View nicolas's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMxLWRldmVsb3BtZW50Lzg4NDE0Mi1vbnBheW1lbnRub3RpZmljYXRpb24tZXZlbnQtaXMtbm90LXRyaWdnZXJpbmc/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

Board Categories HikaShop- Install &amp; Update- Product &amp; Category Display- Content Creation- Sales and Orders- - Orders management- - Reports &amp; Statistics- Customers- Checkout- Payment Methods- Shipping Methods- Import &amp; Export (CSV, XLS…)- Specific Features- - Affilation- - Taxes- - Wishlist- - Vote- - Carousel &amp; Slider- - Mass Actions- - Filters &amp; Search- - Discount &amp; Coupon- - Feature Request- Integrations- Showcase- General Talk about HikaShop- Development- - HikaShop 3.0 Beta- Translation- Commercial Jobs HikaShop Components- HikaMarket- - Market: Feature requests- - Market: How to?- - Market: Bug Report- HikaSerial- - General talk about HikaSerial- - Serial: Bug Report- - Serial: How to?- - Support en Français de HikaSerial (French Support)- - HikaSubscription- HikaAuction- - Auction: Feature requests- - Auction: How to?- - Auction: Bug report Hikashop around the world- Support en Français (French Support)- Russian- - FAQ. Курс выживания с Hikashop. Частые вопросы и о- - Расширения Hikashop- - Наши сайты на Hikashop- 日本語版サポート(Japanese Support)- Thai- German Archives- Bug Report- How to?

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.255 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)

[](#top)
