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

#   onPaymentNotification not invoke

##

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

Less More

- Posts: 2
- Thank you received: 0
-
-

11 years 3 months ago [\#207464](#207464) by [Badou](/forum/user/37887-badou "View Badou's Profile")  *[onPaymentNotification not invoke](/forum/31-development/877988-onpaymentnotification-not-invoke#207464 "-- HikaShop version -- : 2.4.0 -- Joomla version -- : 3.4.1 -- Browser(s) name and version -- : Firefox Dev. 41.0A -- Error-message(debug-mod must be tuned on) -- : onPaymentNotification not invoke. I created payment plugin, which redirects user to payment service and have entered result url in payment aggregator options. But when i select pay on aggregator (with test mode on) it write that POST request was sent, and it is (see this in server logs), but order status not changing and nothing is written in payment logs with echo  onPaymentNotification not invoke. I created payment plugin, which redirects user to payment service and have entered result url in payment aggregator options. But when i select pay on aggregator (with test mode on) it write that POST request was sent, and it is (see this in server logs), but order status not changing and nothing is written in payment logs with echo")* was created by *[Badou](/forum/user/37887-badou "View Badou's Profile")*

-- HikaShop version -- : 2.4.0
-- Joomla version -- : 3.4.1
-- Browser(s) name and version -- : Firefox Dev. 41.0A
-- Error-message(debug-mod must be tuned on) -- : onPaymentNotification not invoke. I created payment plugin, which redirects user to payment service and have entered result url in payment aggregator options. But when i select pay on aggregator (with test mode on) it write that POST request was sent, and it is (see this in server logs), but order status not changing and nothing is written in payment logs with echo

onPaymentNotification not invoke. I created payment plugin, which redirects user to payment service and have entered result url in payment aggregator options. But when i select pay on aggregator (with test mode on) it write that POST request was sent, and it is (see this in server logs), but order status not changing and nothing is written in payment logs with echo

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

- **[Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")**
- [![Mohamed Thelji's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar6861.png)](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")
- [ Offline](/forum/user/6861-mohamed-thelji)

Less More

- Posts: 12953
- Thank you received: 1778
-
-
-

11 years 3 months ago [\#207471](#207471) by [Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")  Replied by *[Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")* on topic *[onPaymentNotification not invoke](/forum/31-development/877988-onpaymentnotification-not-invoke#207471 "-- HikaShop version -- : 2.4.0 -- Joomla version -- : 3.4.1 -- Browser(s) name and version -- : Firefox Dev. 41.0A -- Error-message(debug-mod must be tuned on) -- : onPaymentNotification not invoke. I created payment plugin, which redirects user to payment service and have entered result url in payment aggregator options. But when i select pay on aggregator (with test mode on) it write that POST request was sent, and it is (see this in server logs), but order status not changing and nothing is written in payment logs with echo  onPaymentNotification not invoke. I created payment plugin, which redirects user to payment service and have entered result url in payment aggregator options. But when i select pay on aggregator (with test mode on) it write that POST request was sent, and it is (see this in server logs), but order status not changing and nothing is written in payment logs with echo")*

Hello,
If you want to write something to your payment log through your onPaymentNotification function, you'll have to use that kind of code : Code:

$this-&gt;writeToLog('What you want to write');

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMxLWRldmVsb3BtZW50Lzg3Nzk4OC1vbnBheW1lbnRub3RpZmljYXRpb24tbm90LWludm9rZT90bXBsPW1hcmtkb3du) 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.145 seconds

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

[](#top)
