onPaymentNotification() - Banktransfer

  • Posts: 108
  • Thank you received: 2
13 years 4 months ago #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_hikashop...pl=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 or Create an account to join the conversation.

  • Posts: 82868
  • Thank you received: 13376
  • MODERATOR
13 years 4 months ago #21566

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 or Create an account to join the conversation.

  • Posts: 108
  • Thank you received: 2
13 years 4 months ago #21575

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

Thanks again :)

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

Time to create page: 0.062 seconds
Powered by Kunena Forum