// Change urls of prestashop api

git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@10696 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
rGaillard
2011-11-28 10:22:58 +00:00
parent 6b61051a16
commit 73148dda1d
27 changed files with 38 additions and 38 deletions
+2 -2
View File
@@ -385,7 +385,7 @@ class Hipay extends PaymentModule
}
$i = 1;
$dataSync = 'http://www.prestashop.com/modules/hipay.png?mode='.($this->prod ? 'prod' : 'test');
$dataSync = 'http://api.prestashop.com/modules/hipay.png?mode='.($this->prod ? 'prod' : 'test');
foreach ($accounts as $account => $null)
$dataSync .= '&account'.($i++).'='.urlencode($account);
@@ -612,7 +612,7 @@ class Hipay extends PaymentModule
if (!is_array($this->arrayCategories))
{
$this->arrayCategories = array();
if ($xml = simplexml_load_string(file_get_contents('https://www.prestashop.com/partner/hipay/ws.php?site='.$hipaySiteId.'&accountId='.$hipayAccountId.($prod ? '&prod' : ''))))
if ($xml = simplexml_load_string(file_get_contents('https://api.prestashop.com/partner/hipay/ws.php?site='.$hipaySiteId.'&accountId='.$hipayAccountId.($prod ? '&prod' : ''))))
{
foreach ($xml->children() as $categoriesList)
foreach ($categoriesList->children() as $category)