sonnenglas / amazon-mws-laravel Goto Github PK
View Code? Open in Web Editor NEWThis project forked from creacoon/amazon-mws-laravel
A library to connect to Amazon's MWS web services in an object oriented manner
License: Apache License 2.0
This project forked from creacoon/amazon-mws-laravel
A library to connect to Amazon's MWS web services in an object oriented manner
License: Apache License 2.0
Hi,
Are there any plans for laravel 8 support?
I want to access the rawResponses -> body text, which is not accessible. please let me know how I can access the keys value?
Sonnenglas\AmazonMws\AmazonOrderList Object
(
[orderList:Sonnenglas\AmazonMws\AmazonOrderList:private] => Array
(
)
[i:Sonnenglas\AmazonMws\AmazonOrderList:private] => 0
[tokenFlag:protected] =>
[tokenUseFlag:protected] => 1
[index:Sonnenglas\AmazonMws\AmazonOrderList:private] => 0
[urlbase:protected] => https://mws.amazonservices.com/
[urlbranch:protected] => Orders/2013-09-01
[throttleLimit:protected] => 6
[throttleTime:protected] => 60
[throttleSafe:protected] =>
[throttleGroup:protected] => ListOrders
[throttleStop:protected] =>
[storeName:protected] => amazon_sale
[options:protected] => Array
(
[SellerId] => XXXXXXXXXXX
[AWSAccessKeyId] => XXXXXXXXXXXXXX
[SignatureVersion] => 2
[SignatureMethod] => HmacSHA256
[Version] => 2013-09-01
[MarketplaceId.Id.1] => XXXXXXXX
[MarketplaceId.Id.2] => XXXXXXXXXXX
[MarketplaceId.Id.3] => XXXXXXXXXXXXX
[LastUpdatedAfter] => 2020-03-19T03:37:19+0000
[LastUpdatedBefore] => 2020-03-19T15:35:19+0000
[FulfillmentChannel.Channel.1] => MFN
[OrderStatus.Status.1] => Unshipped
[OrderStatus.Status.2] => PartiallyShipped
[Action] => ListOrders
[Timestamp] => 2020-03-19T15:37:19+0000
[Signature] => CCCCCCCCCCCCCCCCCCCCCCCC
)
[config:protected] =>
[mockMode:protected] =>
[mockFiles:protected] =>
[mockIndex:protected] => 0
[env:protected] => G:\xampp\htdocs\fishbowl\vendor\sonnenglas\laravel5-amazon-mws\src/environment.php
[rawResponses:protected] => Array
(
[0] => Array
(
[head] => HTTP/1.1 403 Forbidden
Server: Server
Date: Thu, 19 Mar 2020 15:39:19 GMT
Content-Type: text/xml
Content-Length: 460
Connection: keep-alive
x-mws-request-id: 06ba3b63-ebc4-4904-94d9-ce7f070a1858
x-mws-timestamp: 2020-03-19T15:39:19.734Z
x-mws-response-context: 8pAUXVO4u+fmD0/3F8rfd0JpS3ZP4YQC6ngxTyXcaTnq2OonjTTx7oSQGgU+gIV6rk2iXzbHHAo=
x-amz-rid: 2Q4BYKP46FXMKSZ26GW5
Vary: Accept-Encoding,X-Amzn-CDN-Cache,X-Amzn-AX-Treatment,User-Agent
[body] =>
Sender
SignatureDoesNotMatch
The request signature we calculated does not match the signature you provided. Check your AWS Secret Access Key and signing method. Consult the service documentation for details.
06ba3b63-ebc4-4904-94d9-ce7f070a1858
[code] => 403
[answer] => Forbidden
[error] => Forbidden
[ok] => 0
[headarray] => Array
(
[Server] => Server
[Date] => Thu, 19 Mar 2020 15:39:19 GMT
[Content-Type] => text/xml
[Content-Length] => 460
[Connection] => keep-alive
[x-mws-request-id] => 06ba3b63-ebc4-4904-94d9-ce7f070a1858
[x-mws-timestamp] => 2020-03-19T15:39:19.734Z
[x-mws-response-context] => 8pAUXVO4u+fmD0/3F8rfd0JpS3ZP4YQC6ngxTyXcaTnq2OonjTTx7oSQGgU+gIV6rk2iXzbHHAo=
[x-amz-rid] => 2Q4BYKP46FXMKSZ26GW5
[Vary] => Accept-Encoding,X-Amzn-CDN-Cache,X-Amzn-AX-Treatment,User-Agent
)
)
)
)
Is there any method to validate seller id and auth token before making any request?
I am not able to pull data its showing all blank thats it.
I am not getting ItemTaxWithheldList in ListFinancialEvents response, is there is any other way to get ItemTaxWithheldList component in ListFinancialEvents response.
I am getting all the data of my order API but not able to get the customer information. All fields related to customer information are blank.
when i want to install the package following error occur.
Problem 1
- Installation request for sonnenglas/laravel5-amazon-mws ^4.1 -> satisfiable by sonnenglas/laravel5-amazon-mws[4.1.0].
- Conclusion: remove laravel/framework v7.28.4
- Conclusion: don't install laravel/framework v7.28.4
any solution for this.
When i make request
$upc = ['190021324893', '796201587166', '32323231111', '211212122'];
$product_list = new AmazonProductList( 'store1' );
$product_list->setIdType( "UPC" );
$product_list->setProductIds( $upc );
$product_list->fetchProductList();
$product_list->getProduct();
I don't understand which results is which upc's also i cannot get by order because when wrong upc it's return just response with 'error' array key. when it more than one error it's replace the previous error response. so hard to match the response with upc.
It was working fine before but for last few days it starts throw this error :
"InvalidParameterValue
Invalid query string provided - Keys may not contain <"
When i am feed product into AMZ in Spain and France Market place its responding error "dev.ERROR: Response Not OK! Error: Forbidden ".
I see here that you are subtracting 120 seconds from the time limits submitted with a report request:
https://github.com/sonnenglas/amazon-mws-laravel/blob/stable/src/AmazonCore.php#L572
What is the reason for this? I need to generate reports that start at the beginning of a day and end at the end of a day, but this library is subtracting 2 minutes from each of my time limits. I'm confused as to why the library would be designed to do this.
Can you explain that please?
How to get full info of any order in orderlist, not just these 5 parameters,, I would also like to have info such as state, fulfilment type, and others
What is PostedAfter and PostedBefore date option in ListFinancialEvents?
and from where or which date i can use for PostedAfter and PostedBefore date option?
Did anyone build a module to pull FBA fees by ASIN using this library?
Hi,
How to add invoice (pdf file) to order?
Hi,
I can't find any creating order api in this library.
How can I create order using this library?
I'm looking forwards to your positive answer.
Thanks,
TrustyMan
Im getting .com orders successfully but I would like to access .ca orders as well,
I checked "https://github.com/sonnenglas/amazon-mws-laravel/blob/stable/src/AmazonOrderList.php"
but there you passed only $this->options['MarketplaceId.Id.1'] = $store[$s]['marketplaceId']; into constructor. my question is how we can pass multiple marketplaceIds?
Add Financial functionality: https://github.com/CPIGroup/phpAmazonMWS/blob/stable/includes/classes/AmazonFinancialEventList.php
In config/amazon-mws.php add a key as 'log-file' or 'log-driver' to specify the file/driver to use for logging
it's useful to separate log of library from log of the laravel application
Hello, I am trying to create inbound shipment using "CreateInboundShipment" but i am getting error "400 Bad Request:Request is invalid - ShipmentName is required"
Since the "InboundShipmentHeader.ShipmentName" is required to create inbound shipment.
Can you please Help.
Thanks
I need to know what data as string is passed to following function
amazon-mws-laravel/src/AmazonFeed.php/setFeedContent($s)
What will be inside $s in setFeedContent($s)??
Will it be xml as string?
Give simple example please.
Thanks.
I couldn't find anything similar in the library. Did I miss it? Any help is appreciated.
It should be possible to handle multiple marketplaces by defining marketplaceId as Array in store config file.
For example: in AmazonOrderList class, we can check if marketplaceId is Array then loop and set each ID to options[marketplaceId.Id.$x]
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.