I'm trying to get information from a product using Amazon MWS API and I'm get this annoying error:
Fatal error: Redefinition of parameter $quotaMax in....(path to file ResponseHeaderMetadata.php)
My MWS credentials are ok because I tried the exact same credentials on the MWS scratchpad and the response was correct. My code are using the MWS samples for the Products API. I'm using the GetMatchingProductSample.php, the most important part are:
$asin_list = new MarketplaceWebServiceProducts_Model_ASINListType();
$asin_list->setASIN(array("B01BH9EXX2"));
$request = new MarketplaceWebServiceProducts_Model_GetMatchingProductRequest();
$request->setMarketplaceId(MARKETPLACE_ID);
$request->setASINList($asin_list);
invokeGetMatchingProduct($service, $request);
When getting the dump of the request, all seems to be ok, again:
$parameters = $request->toQueryParameterArray();
var_dump($parameters);
array(2) { ["MarketplaceId"]=> string(13) "ATVPDKIKX0DER" ["ASINList.ASIN.1"]=> string(10) "B01BH9EXX2" }
The MWS API documentation is not very good.
Thanks