Amazon mws api Class 'MarketplaceWebService_Client' not found error
amazon-mws, amazon-web-services, php
Solution
There is no php file called MarketplaceWebService_Client. Its Client.php in your downloaded library. MarketplaceWebService_Client Class is in client.php file only. I think include path of Client.php is not correctly specified in GetReportCountSample.php. Client.php may be in the following path(Outside of Samples folder): C:\xampp\htdocs\sites\amazon marketplace\Client.php
Problem
After downloading an unzipping Amazon's MWS client library api I have tried to run one of the scripts to see if everything is working. when trying to run the file GetReportCountSample.php I get the error ``` Fatal error: Class 'MarketplaceWebService_Client' not found in C:\xampp\htdocs\sites\amazon marketplace\Samples\GetReportCountSample.php on line 68 ``` I've looked through the config file and I have input my credentials such as: ``` define('AWS_ACCESS_KEY_ID', '<key id>'); //has been input define('AWS_SECRET_ACCESS_KEY', '<secret key id>'); //has been input define('APPLICATION_NAME', '<Your Application Name>'); //no idea what this is define('APPLICATION_VERSION', '<Your Application Version or Build Number>'); //no idea define ('MERCHANT_ID', '<merch id>'); //has been input ``` I can not find a php file called `MarketplaceWebService_Client`, I need help, thanks.