Jump to content
armenak

Payza Prestashop module integration error : class 'Payza' does not have a method 'hookpayment'

Recommended Posts

Good day, 

 

We are currently trying to integrate Payza Prestashop module with One Page Checkout PrestaShop v1.4.0 module by PresTeamShop.com on our website   .

 

Payza Prestashop module works properly when we use Prestashop’s standard 1 or 5-page checkout page.

 

But, unfortunately, it gives an error when integrated with One Page Checkout PrestaShop v1.4.0 module by PresTeamShop.com module. As a result, other payment modules ( BitPay, MoneyGram ) also become non-functional.

 

Debugged mode shows the following error on One Page Checkout page : call_user_func() expects parameter 1 to be a valid callback, class 'Payza' does not have a method 'hookpayment' in

/public_html/modules/onepagecheckoutps/controllers/front/orderopc.php on line 979 .

 

 

This error is characterized only for Payza Prestashop module as we use also PayPal, MoneyGram, BitPay modules that are fully functional and do not bring this error.

 

Seem, there should be added some code for 'hookpayment' like one, which have PayPal, MoneyGram, BitPay modules , but I cannot understand how to do that.

 

Could you please help me ?

 

 

I attach printscreen of the One Page Checkout page in debugged mode as well as orderopc.php and payza.php . I also attach part of codes of other modules concerning 'hookpayment’ if this could help.

 

I thank you for your time !

 

bitpay to look for hookpayment.php

post-469651-0-27854700-1434813256_thumb.jpg

post-469651-0-87442300-1434813256_thumb.jpg

post-469651-0-41179000-1434813257_thumb.jpg

moneygram to look for hookpayment.php

orderopc.php

payza.php

Share this post


Link to post
Share on other sites
Guest
This topic is now closed to further replies.

×
×
  • Create New...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More