Hi,
I created a locale file for "Amazon India".
Amazon India Search Services & Product listing is working fine.
But when I clicked an Item with "add to cart" button, the item is not adding in cart and showing messge "Failed to create cart. & Error: Item not added to cart.".
how to resolve this issue.
This log message stored at watchdog:
=======================================
There was an error accessing amazon. Message=Amazon error returned. Code=AWS.InvalidEnumeratedParameter}, Message=The value you specified for Marketplace is invalid. Valid values include de, es, fr, in, it, uk. //, results=SimpleXMLElement Object ( [OperationRequest] => SimpleXMLElement Object ( [HTTPHeaders] => SimpleXMLElement Object ( [0] => SimpleXMLElement Object ( [@attributes] => Array ( [Name] => UserAgent [Value] => Drupal (+http://drupal.org/) ) ) ) [RequestId] => ------------- [Arguments] => SimpleXMLElement Object ( [Argument] => Array ( [0] => SimpleXMLElement Object ( [@attributes] => Array ( [Name] => AssociateTag [Value] => ------ ) ) [1] => SimpleXMLElement Object ( [@attributes] => Array ( [Name] => Service [Value] => AWSECommerceService ) ) [2] => SimpleXMLElement Object ( [@attributes] => Array ( [Name] => Signature [Value] => guzd/-------------= ) ) [3] => SimpleXMLElement Object ( [@attributes] => Array ( [Name] => Item.1.OfferListingId [Value] => wCp8dmSM7H9Vwdn37Z87%2FiS6epODWKJjrAeiVJ%2Fm%2FzsSFsyAAz3Rk66LcI11U2BOpJdlbcByIu99SnzCmwCadimne%2BgRfOcksNHTgrHmmBfLZ%2FUYgpt5YCD5V9W5bzvP ) ) [4] => SimpleXMLElement Object ( [@attributes] => Array ( [Name] => Item.1.Quantity [Value] => 1 ) ) [5] => SimpleXMLElement Object ( [@attributes] => Array ( [Name] => Operation [Value] => CartCreate ) ) [6] => SimpleXMLElement Object ( [@attributes] => Array ( [Name] => AWSAccessKeyId [Value] => ------------ ) ) [7] => SimpleXMLElement Object ( [@attributes] => Array ( [Name] => Timestamp [Value] => 2014-09-15T11:08:57Z ) ) [8] => SimpleXMLElement Object ( [@attributes] => Array ( [Name] => Version [Value] => 2011-08-01 ) ) ) ) [RequestProcessingTime] => 0.00416803359985352 ) [Cart] => SimpleXMLElement Object ( [Request] => SimpleXMLElement Object ( [IsValid] => False [CartCreateRequest] => SimpleXMLElement Object ( [Items] => SimpleXMLElement Object ( [Item] => SimpleXMLElement Object ( [OfferListingId] => wCp8dmSM7H9Vwdn37Z87%2FiS6epODWKJjrAeiVJ%2Fm%2FzsSFsyAAz3Rk66LcI11U2BOpJdlbcByIu99SnzCmwCadimne%2BgRfOcksNHTgrHmmBfLZ%2FUYgpt5YCD5V9W5bzvP [Quantity] => 1 ) ) ) [Errors] => SimpleXMLElement Object ( [Error] => Array ( [0] => SimpleXMLElement Object ( [Code] => AWS.InvalidEnumeratedParameter [Message] => The value you specified for Marketplace is invalid. Valid values include de, es, fr, in, it, uk. ) [1] => SimpleXMLElement Object ( [Code] => AWS.InvalidEnumeratedParameter [Message] => The value you specified for Marketplace is invalid. Valid values include de, es, fr, in, it, uk. ) ) ) ) ) )
======================================
Comments
Comment #1
MurthyVittala commentedIt would be great if you can share the local file of Amazon for India here, so that we can debug the issue.