PDA

View Full Version : Error in using sopwindow API


rahulcbr
01-08-08, 10:17
Hi
i download the API toolkit from affiliatewindow.com and configure constant.inc with define API_USERNAME and API_PASSWORD with my afiliate user_id and password . then i execute ps_client.php file.
When this file is executed it return the following result

SoapError Object
(
[sCode] => ns1:Client.AUTH_2
[sString] => Authentication Failed
[sDetails] => getCategory: Invalid combination of username/password/usertype or account disabled
)

but in affiliatewindow.com it show my status as active.
Please give me solution ASAP.


i also want to know that this api also return the Discount codes and merchant details on behalf of category? if yes , please provide me exmaple parameters or example code for the same.

Ollie
01-08-08, 15:21
Hi rahulcbr,

Please check that you are using the correct password in your api.client. This can be found in your affiliate area under 'Update Account Details' > 'Change Password'. You must ensure you are using the 'V2 Hash' and not your old 'V1 MD5' as this will not work with the updated Api Client.

If you are sure you are using these values, please raise a support ticket via your affiliate area and we will take a look for you.

In response to your last question, no, the API will not provide merchant discount codes, and yes, it will return merchant details based on categorys. To do this you need to make sure of the ProductServe V2 refine bys. Please see the documentation for more details.

Cheers
Ollie

rahulcbr
01-08-08, 15:41
hi Ollie

Thanks for reply. i resolve the issue.

Rahul

Amoochi
02-08-08, 14:33
hi Ollie

Thanks for reply. i resolve the issue.

Rahul

Care to share how you resolved it, was it using Ollie's advice or was it something else?

It's always good to have problem resolutions posted in case others suffer the same problem.