xlcus
26-11-07, 21:39
I noticed today (though it seems to have been going on for some time) that some merchants were showing up as their ID instead of their name in my "Stats to RSS feed" script. After further investigation I found that the "getMerchant" API call seems to return no data for certain merchants. e.g. The following code...
$m = $oClient->call('getMerchant', array('aMerchantIds' => array('483')));
print_r($m);returns an empty array...
stdClass Object ( [getMerchantReturn] => Array ( ) )
Where as, most other merchant IDs will return the correct data. Is there something different about these merchants? Or is there some other API problem/issue causing this?
Here are the 3 merchants I've had problems with so far. There may be others, but these are the only ones that have both produced a commission for me and come out in my RSS feed with a number instead of a name.
$m = $oClient->call('getMerchant', array('aMerchantIds' => array('483')));
print_r($m);returns an empty array...
stdClass Object ( [getMerchantReturn] => Array ( ) )
Where as, most other merchant IDs will return the correct data. Is there something different about these merchants? Or is there some other API problem/issue causing this?
Here are the 3 merchants I've had problems with so far. There may be others, but these are the only ones that have both produced a commission for me and come out in my RSS feed with a number instead of a name.