Jump to content

[solved] HiPay error after updating to 1.3.6.0


Recommended Posts

HiPay was working fine until I updated to version 1.3.6.0 but since the update, I was receiving the error message "Hipay categories not set for every Site ID" and the Category field reads "An error has occurred. Please call technical services." Three currencies are set at both ends, it was working immediately before the update and nothing changed accept applying the update.

Further inspection shows in hipay.php line 416 is:

if ($xml = simplexml_load_string(file_get_contents('https://www.prestashop.com/partner/hipay/ws.php?site='.$hipaySiteId.($prod ? '∏' : ''))))



and the error message "An error has occurred. Please call technical services" is coming from PrestaShop domain. Why there is a call to PrestaShop domain in the HiPay code, I don't know? Maybe left from tests. A request to page https://www.prestashop.com/partner/hipay/ws.php returns:

1.03699ddcc752f7e6ae05e135d349a5069errorAn error has occured. Please call technical services.

hence the error message in the module UI.

Replacing that line 416 with

if ($xml = simplexml_load_string(file_get_contents('https://'.($prod ? '' : 'test.').'www.hipay.com/payment-order/list-categories/id/'.$hipaySiteId)))



resolves the problem. FYI.

Link to comment
Share on other sites

  • 5 weeks later...
  • 1 year later...

Hello,

I have prestashop 1.4.7 with Hipay module v1.1

I have all setup correctly and still got the

Hipay categories not set for every Site ID.

 

Tried your solution, it was line 622 instead in the new file version and it did not work.

Currently searching for another solution.

 

The payment option does not even show at the checkout.

Link to comment
Share on other sites

went to the database and changed the value of the Hipay_prod from 0 to 1 to enable it and i still got a prob.

 

I dont have the "category ID" warning anymore.

 

But the Hipay payment option is not proposed to the customer. It does not show up on the page.

Link to comment
Share on other sites

  • 1 month later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...