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

#   onPaymentNotification() - Banktransfer

##

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

Less More

- Posts: 108
- Thank you received: 2
-
-

15 years 3 months ago [\#21564](#21564) by [bars92](/forum/user/3048-bars92 "View bars92's Profile")  *[onPaymentNotification() - Banktransfer](/forum/4-how-to/21564-onpaymentnotification-banktransfer#21564 "hey, I am using the banktransfer method to pay with online credit card and i need the onPaymentNotification() to verify the status.  So i copied the function from paypal.php and pasted it at banktransfer.php after the onAfterOrderConfirm(), but when i am trying to go to the URL   mysite.com/index.php?option=com&#95;hikashop...pl=component&amp;lang=he  it gives me an error:  &quot; Fatal error: Call to undefined method plgHikashoppaymentBanktransfer::onPaymentNotification() in .../components/com&#95;hikashop/controllers/checkout.php on line 905 &quot;  means i did not define the function, what do i do to make it work as at the paypal plugin?")* was created by *[bars92](/forum/user/3048-bars92 "View bars92's Profile")*

hey, I am using the banktransfer method to pay with online credit card and i need the onPaymentNotification() to verify the status.

So i copied the function from paypal.php and pasted it at banktransfer.php after the onAfterOrderConfirm(), but when i am trying to go to the URL [ mysite.com/index.php?option=com\_hikashop...pl=component&amp;lang=he](https://mysite.com/index.php?option=com_hikashop&ctrl=checkout&task=notify&notif_payment=banktransfer&tmpl=component&lang=he)

it gives me an error:

" Fatal error: Call to undefined method plgHikashoppaymentBanktransfer::onPaymentNotification() in .../components/com_hikashop/controllers/checkout.php on line 905 "

means i did not define the function, what do i do to make it work as at the paypal plugin?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzIxNTY0LW9ucGF5bWVudG5vdGlmaWNhdGlvbi1iYW5rdHJhbnNmZXI/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?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86561
- Thank you received: 14307
-
-

15 years 3 months ago [\#21566](#21566) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: onPaymentNotification() - Banktransfer](/forum/4-how-to/21564-onpaymentnotification-banktransfer#21566 "hey, I am using the banktransfer method to pay with online credit card and i need the onPaymentNotification() to verify the status.  So i copied the function from paypal.php and pasted it at banktransfer.php after the onAfterOrderConfirm(), but when i am trying to go to the URL   mysite.com/index.php?option=com&#95;hikashop...pl=component&amp;lang=he  it gives me an error:  &quot; Fatal error: Call to undefined method plgHikashoppaymentBanktransfer::onPaymentNotification() in .../components/com&#95;hikashop/controllers/checkout.php on line 905 &quot;  means i did not define the function, what do i do to make it work as at the paypal plugin?")*

That's all there is to it. If php doesn't find the function onPaymentNotification in the class plgHikashoppaymentBanktransfer in the file plugins/hikashoppayment/banktransfer.php it means that you didn't copy/pasted the code there.

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

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

Less More

- Posts: 108
- Thank you received: 2
-
-

15 years 3 months ago [\#21575](#21575) by [bars92](/forum/user/3048-bars92 "View bars92's Profile")  Replied by *[bars92](/forum/user/3048-bars92 "View bars92's Profile")* on topic *[Re: onPaymentNotification() - Banktransfer](/forum/4-how-to/21564-onpaymentnotification-banktransfer#21575 "hey, I am using the banktransfer method to pay with online credit card and i need the onPaymentNotification() to verify the status.  So i copied the function from paypal.php and pasted it at banktransfer.php after the onAfterOrderConfirm(), but when i am trying to go to the URL   mysite.com/index.php?option=com&#95;hikashop...pl=component&amp;lang=he  it gives me an error:  &quot; Fatal error: Call to undefined method plgHikashoppaymentBanktransfer::onPaymentNotification() in .../components/com&#95;hikashop/controllers/checkout.php on line 905 &quot;  means i did not define the function, what do i do to make it work as at the paypal plugin?")*

Silly by me the class ended before the function so it did not count as class method.

Thanks again ![:)](/media/kunena/emoticons/3.png ":)")

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

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