A Laravel package to connect to Amazon's Merchant Web Services (MWS).
Currently optimizing and testing with all MWS's actions.
The connect function will provide you a data array expected by the MWS's action passed as paramater.
Please, take a look to Amazon Web Services (AWS) documentation : https://docs.developer.amazonservices.com/en_FR/dev_guide/DG_IfNew.html
This package use the package ArrayToXMl from spatie : https://github.com/spatie/array-to-xml
Via Composer
$ composer require laravelamazonmws/laravelamazonmws
$country = 'FR';
$config = [
'Marketplace_Id' => LaravelAmazonMws::getMarketPlaceId($country),
'Marketplace_Host' => LaravelAmazonMws::getMarketPlaceHost($country),
'Seller_Id' => env('YOUR_SELLER_ID'),
'Access_Key_ID' => env('YOUR_ACCESS_KEY_ID'),
'Secret_Access_Key' => env('YOUR_SECRET_ACCESS_KEY'),
];
$action = 'GetFulfillmentOrder';
$query = [
//Add the request paramaters by Action, take a look on Amazon documentation
'SellerFulfillmentOrderId' => 895,
];
$new_mws = new LaravelAmazonMws($config);
$response = $new_mws->connect($action, $query);
Please see the changelog for more information on what has changed recently.
Please see contributing.md for details and a todolist.
If you discover any security related issues, please email b.delaloi@gmail.com instead of using the issue tracker.
license. Please see the license file for more information.