Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The orders list error response is not readable. #44

Open
developer-gurpreet opened this issue Mar 19, 2020 · 0 comments
Open

The orders list error response is not readable. #44

developer-gurpreet opened this issue Mar 19, 2020 · 0 comments

Comments

@developer-gurpreet
Copy link

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
                        )

                )

        )

)
@developer-gurpreet developer-gurpreet changed the title The orders list response is not readable. The orders list error response is not readable. Mar 19, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant