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

#   Method onPaymentNotification()

##

- **[progreccor](/forum/user/4816-progreccor "View progreccor's Profile")**
- [![progreccor's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar4816.jpg)](/forum/user/4816-progreccor "View progreccor's Profile") Topic Author
- [ Offline](/forum/user/4816-progreccor "Москва")
- SEO, webdesign

Less More

- Posts: 2293
- Thank you received: 314
-
-
-
- [](http://www.d-dd.ru)
-

11 years 8 months ago [\#192294](#192294) by [progreccor](/forum/user/4816-progreccor "View progreccor's Profile")  *[Method onPaymentNotification()](/forum/29-payment-methods/875270-method-onpaymentnotification#192294 "-- HikaShop version -- : 2.3.5 -- Joomla version -- : 3.4.6 -- PHP version -- : 5.4  Hi, I am create open source plugin's payment for &quot;Robokassa&quot; and I only check payment. In docs I see method class plugin's &quot;onPaymentNotification&quot;, but when I turn to the address displayed a common template, without my test data;  Example url:   moskvazakaz.ru/index.php?option=com&#95;hika...pl=component&amp;lang=ru  It does not output the test data in the method. Why he does not show?  Example code: public function onPaymentNotification(&amp;$statuses) { echo &quot;test&quot;; /&#42; &#42; etc &#42;/ }")* was created by *[progreccor](/forum/user/4816-progreccor "View progreccor's Profile")*

-- HikaShop version -- : 2.3.5
-- Joomla version -- : 3.4.6
-- PHP version -- : 5.4

Hi,
I am create open source plugin's payment for "Robokassa" and I only check payment. In docs I see method class plugin's "onPaymentNotification", but when I turn to the address displayed a common template, without my test data;

Example url: [ moskvazakaz.ru/index.php?option=com\_hika...pl=component&amp;lang=ru](http://moskvazakaz.ru/index.php?option=com_hikashop&ctrl=checkout&task=notify&notif_payment=robokassa&tmpl=component&lang=ru)
It does not output the test data in the method. Why he does not show?

Example code:
public function onPaymentNotification(&amp;$statuses) {
echo "test";
/*
* etc
*/
}

---

Я не явлюсь официальной службой поддержки!
Я здесь добровольно!

Хочешь получить купон на скидку Hikashop? Спроси меня как!

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI5LXBheW1lbnQtbWV0aG9kcy84NzUyNzAtbWV0aG9kLW9ucGF5bWVudG5vdGlmaWNhdGlvbj90bXBsPW1hcmtkb3du) 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: 26400
- Thank you received: 4080
-
- [](http://obsi.dev)
-

11 years 8 months ago [\#192299](#192299) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Method onPaymentNotification()](/forum/29-payment-methods/875270-method-onpaymentnotification#192299 "-- HikaShop version -- : 2.3.5 -- Joomla version -- : 3.4.6 -- PHP version -- : 5.4  Hi, I am create open source plugin's payment for &quot;Robokassa&quot; and I only check payment. In docs I see method class plugin's &quot;onPaymentNotification&quot;, but when I turn to the address displayed a common template, without my test data;  Example url:   moskvazakaz.ru/index.php?option=com&#95;hika...pl=component&amp;lang=ru  It does not output the test data in the method. Why he does not show?  Example code: public function onPaymentNotification(&amp;$statuses) { echo &quot;test&quot;; /&#42; &#42; etc &#42;/ }")*

Hi,

You should check your HikaShop payment log.
If you want to display something in the browser, you have to return it ; the "echo" are stored in the log (except if you modify the output buffers).

Regards,

---

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

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

- **[progreccor](/forum/user/4816-progreccor "View progreccor's Profile")**
- [![progreccor's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar4816.jpg)](/forum/user/4816-progreccor "View progreccor's Profile") Topic Author
- [ Offline](/forum/user/4816-progreccor "Москва")
- SEO, webdesign

Less More

- Posts: 2293
- Thank you received: 314
-
-
-
- [](http://www.d-dd.ru)
-

11 years 8 months ago [\#192839](#192839) by [progreccor](/forum/user/4816-progreccor "View progreccor's Profile")  Replied by *[progreccor](/forum/user/4816-progreccor "View progreccor's Profile")* on topic *[Method onPaymentNotification()](/forum/29-payment-methods/875270-method-onpaymentnotification#192839 "-- HikaShop version -- : 2.3.5 -- Joomla version -- : 3.4.6 -- PHP version -- : 5.4  Hi, I am create open source plugin's payment for &quot;Robokassa&quot; and I only check payment. In docs I see method class plugin's &quot;onPaymentNotification&quot;, but when I turn to the address displayed a common template, without my test data;  Example url:   moskvazakaz.ru/index.php?option=com&#95;hika...pl=component&amp;lang=ru  It does not output the test data in the method. Why he does not show?  Example code: public function onPaymentNotification(&amp;$statuses) { echo &quot;test&quot;; /&#42; &#42; etc &#42;/ }")*

Hi,
And one more question, so look after payment plugin says it all "ok" and changes: "$ this-&gt; modifyOrder ($ order_id, $ this-&gt; payment_params-&gt; verified_status, $ history, true);"
Translates order in "Confirmed", but in the admin says money only in the "intermediate" (indicated in the screenshot), that is not saying. Why did not he writes "2.0 RUB - Robokassa"?

---

Я не явлюсь официальной службой поддержки!
Я здесь добровольно!

Хочешь получить купон на скидку Hikashop? Спроси меня как!

- [ ![HT7KFKqIyUE.jpg](/forum/attachment/22768) ](/forum/attachment/22768 "HT7KFKqIyUE.jpg") [ ](/forum/attachment/22768?download=1 "HT7KFKqIyUE.jpg")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI5LXBheW1lbnQtbWV0aG9kcy84NzUyNzAtbWV0aG9kLW9ucGF5bWVudG5vdGlmaWNhdGlvbj90bXBsPW1hcmtkb3du) 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: 26400
- Thank you received: 4080
-
- [](http://obsi.dev)
-

11 years 8 months ago [\#192850](#192850) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Method onPaymentNotification()](/forum/29-payment-methods/875270-method-onpaymentnotification#192850 "-- HikaShop version -- : 2.3.5 -- Joomla version -- : 3.4.6 -- PHP version -- : 5.4  Hi, I am create open source plugin's payment for &quot;Robokassa&quot; and I only check payment. In docs I see method class plugin's &quot;onPaymentNotification&quot;, but when I turn to the address displayed a common template, without my test data;  Example url:   moskvazakaz.ru/index.php?option=com&#95;hika...pl=component&amp;lang=ru  It does not output the test data in the method. Why he does not show?  Example code: public function onPaymentNotification(&amp;$statuses) { echo &quot;test&quot;; /&#42; &#42; etc &#42;/ }")*

Hi,

I'm not sure I understood your question.
The payment price is something which is configured in the HikaShop backend, with the rest of the payment plugin configuration.

Regards,

---

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

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

- **[progreccor](/forum/user/4816-progreccor "View progreccor's Profile")**
- [![progreccor's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar4816.jpg)](/forum/user/4816-progreccor "View progreccor's Profile") Topic Author
- [ Offline](/forum/user/4816-progreccor "Москва")
- SEO, webdesign

Less More

- Posts: 2293
- Thank you received: 314
-
-
-
- [](http://www.d-dd.ru)
-

11 years 8 months ago -  11 years 8 months ago [\#192908](#192908) by [progreccor](/forum/user/4816-progreccor "View progreccor's Profile")  Replied by *[progreccor](/forum/user/4816-progreccor "View progreccor's Profile")* on topic *[Method onPaymentNotification()](/forum/29-payment-methods/875270-method-onpaymentnotification#192908 "-- HikaShop version -- : 2.3.5 -- Joomla version -- : 3.4.6 -- PHP version -- : 5.4  Hi, I am create open source plugin's payment for &quot;Robokassa&quot; and I only check payment. In docs I see method class plugin's &quot;onPaymentNotification&quot;, but when I turn to the address displayed a common template, without my test data;  Example url:   moskvazakaz.ru/index.php?option=com&#95;hika...pl=component&amp;lang=ru  It does not output the test data in the method. Why he does not show?  Example code: public function onPaymentNotification(&amp;$statuses) { echo &quot;test&quot;; /&#42; &#42; etc &#42;/ }")*

Sorry, Jerome.
Russian translation have wrong meaning.
I have swich to English and that line is mean "payment fee" but in Russian it is mean "payment"
So I misunderstand this

---

Я не явлюсь официальной службой поддержки!
Я здесь добровольно!

Хочешь получить купон на скидку Hikashop? Спроси меня как!

Last edit: 11 years 8 months ago by [progreccor](/forum/user/4816-progreccor "View progreccor's Profile").

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

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