webinvitro Posted September 10, 2014 Share Posted September 10, 2014 HI, Just installed version 1.6.0.8 of prestashop, and trying to add Hipay module... I have installed, configured it, but never appears at the checkout... Anyone knows why, or with the same problem? Link to comment Share on other sites More sharing options...
webinvitro Posted September 13, 2014 Author Share Posted September 13, 2014 WOW!!!! 0 Replies??? No one has this problem? Or no one knows how to fix it? Link to comment Share on other sites More sharing options...
henrique.signed Posted September 15, 2014 Share Posted September 15, 2014 Hello webinvitro, I had same problem and just fixed it! Go to your modules/hipay/hipay.php @ line 530 you have $ping = ($allow_url_fopen && $openssl && $fd = fsockopen('payment.hipay.com', 443) && fclose($fd)); comment it and add / or replace it with: $fd = fsockopen('payment.hipay.com', 443); $ping = ($allow_url_fopen && $openssl && $fd && fclose($fd)); DONE! Your hipay module would start to work. Just make sure you have "allow_url_fopen" on @ php.ini. Best regards Link to comment Share on other sites More sharing options...
cesar.b.araujo Posted November 11, 2014 Share Posted November 11, 2014 didn't work with me. any other options? Link to comment Share on other sites More sharing options...
tuk66 Posted November 12, 2014 Share Posted November 12, 2014 Have you enabled that module for all groups, countries and currencies? Modules > Payment Link to comment Share on other sites More sharing options...
cesar.b.araujo Posted November 12, 2014 Share Posted November 12, 2014 Have you enabled that module for all groups, countries and currencies? Modules > Payment Yes all enabled I Still have " Hipay categories are not defined for each Site ID" Link to comment Share on other sites More sharing options...
tuk66 Posted November 12, 2014 Share Posted November 12, 2014 In my old version, that message will appear when this condition is true (means $categories = false) foreach ($currencies as $currency) { if (($hipaySiteId = Configuration::get('HIPAY_SITEID_'.$currency['iso_code']) AND !count($this->getHipayCategories(true, $hipaySiteId))) OR ($hipaySiteIdTest = Configuration::get('HIPAY_SITEID_TEST_'.$currency['iso_code']) AND !count($this->getHipayCategories(false, $hipaySiteIdTest)))) $categoryRetrieval = false; if ((Configuration::get('HIPAY_SITEID_'.$currency['iso_code']) AND !Configuration::get('HIPAY_CATEGORY_'.$currency['iso_code'])) OR (Configuration::get('HIPAY_SITEID_TEST_'.$currency['iso_code']) AND !Configuration::get('HIPAY_CATEGORY_TEST_'.$currency['iso_code']))) $categories = false; } Maybe you will find something relevant in your settings. Link to comment Share on other sites More sharing options...
henrique.signed Posted November 12, 2014 Share Posted November 12, 2014 (edited) didn't work with me. any other options? Hi cesar.b.araujo, Are you sure you have the allow_url_fopen set as ON ? Your code is like this : Best regards Edited November 12, 2014 by henrique.signed (see edit history) Link to comment Share on other sites More sharing options...
cesar.b.araujo Posted November 12, 2014 Share Posted November 12, 2014 Hi cesar.b.araujo, Are you sure you have the allow_url_fopen set as ON ? Your code is like this : nop didn't work again as soon as I uploaded it to the server, all page goes down I've replaced it again Link to comment Share on other sites More sharing options...
henrique.signed Posted November 12, 2014 Share Posted November 12, 2014 Hi cesar.b.araujo, Are you sure you have the allow_url_fopen set as ON ? Your code is like this : nop didn't work again as soon as I uploaded it to the server, all page goes down I've replaced it again Sorry cesar.b.araujo, It was missing a ";" at line $fd = fsockopen('payment.hipay.com', 433); Try that Link to comment Share on other sites More sharing options...
cesar.b.araujo Posted November 12, 2014 Share Posted November 12, 2014 Sorry cesar.b.araujo, It was missing a ";" at line $fd = fsockopen('payment.hipay.com', 433); Try that Link to comment Share on other sites More sharing options...
cesar.b.araujo Posted November 12, 2014 Share Posted November 12, 2014 Sorry cesar.b.araujo, It was missing a ";" at line $fd = fsockopen('payment.hipay.com', 433); Try that nop again, sorry i'm surelly making something wrong how can I sen you my hipay.php for you to analise?? Link to comment Share on other sites More sharing options...
cesar.b.araujo Posted November 16, 2014 Share Posted November 16, 2014 I don't know how I did it, but it's working now Thank you all Link to comment Share on other sites More sharing options...
Recommended Posts