Tapha / mws-laravel

A minimal service provider to set up and use the Amazon MWS API PHP library in Laravel 5.*
16 stars 15 forks source link

InvalidSKU response for skus with special characters #2

Open mrsergejl opened 8 years ago

mrsergejl commented 8 years ago

When I am trying e.g this with an german sku that contains ä or ü or:

$sku = "404880510054500 Reg Büro RA";

$amz=new AmazonProductList('storeXY'); 
        $amz->setIdType('SellerSKU');
        $amz->setProductIds($sku);
        $amz->fetchProductList();
$products = $amz->getProduct();

I am receiving this Error by Amazon:

"404880510054500 Reg Büro RA is an invalid SellerSKU for marketplace A1PA6795UKMFR9“

I debugged the curl parameter before curl_exec and the encoding looks correct:

SellerSKU&IdList.Id.1=4048805100545%20Reg%20B%C3%BCro%20RA

When I lookup this sku at mws scratchpad, everything works fine there.

I feel kind of frustrated after days of trying to solve this issue. Any ideas highly welcome

shesmu commented 6 years ago

I am currently experiencing this issue, did you ever find a resolution?