PDA

View Full Version : "getMerchant" not returning data for all merchants?


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.

xlcus
26-11-07, 21:41
Sorry forgot to post the list. Here are the merchants I've noticed that have had problems so far...
483 B&Q
592 Selections
1471 Homebits

Adrian
27-11-07, 15:21
Hi xlcus,

Thanks for the notification on this, not sure why this is happening (possible bug) but will get the development team to take a look.

Will keep you posted.

Adrian
SW Integration & Technical Support

Email: adrian.botelho@digitalwindow.com
www.digitalwindow.com

Adrian
30-11-07, 16:57
Hi xlcus,

Please can you confirm whether this is the Affiliate Service or Product Service API you are referring to?

Cheers,

Adrian
SW Integration & Technical Support

Email: adrian.botelho@digitalwindow.com
www.digitalwindow.com

xlcus
30-11-07, 17:48
This is the service used to get information about my commisions. i.e. I have this at the top of my script...
define('API', 'AW');

Adrian
30-11-07, 18:22
Hi xlcus,

Okay, in that case its the reporting API (know as the 'AW' or 'Affiliate Service' API).

Thanks for letting me know.

Adrian
SW Integration & Technical Support

adrian.botelho@digitalwindow.com
www.digitalwindow.com

Adrian
06-12-07, 13:18
Hi xlcus,

Seems that the three Merchants in question are all Hidden programs on the network and therefore do not return any data when the request is made.

Adrian
SW Integration & Technical Support

adrian.botelho@digitalwindow.com
www.digitalwindow.com

xlcus
06-12-07, 21:11
Thanks for the reply. Is this a bug that you intend to fix?

Glitz
07-12-07, 00:00
Xicus

I'm sure I was notified recently that Selections and Homebits are ended programs and no longer work with Awin.

B&Q - have a search, there are threads dedicated to that subject. They wont work with most of us but still want to be in the shopwindow mix!

xlcus
07-12-07, 00:49
They may no longer be active now, but they must have been at the time as I got a pending commission from them. :-)