Amazon now has support for Italy and China.

Here is the announcement

The change required should just be to add the required lines to _amazon_default_locales() and clear cache.

Information about the new locales is at http://docs.amazonwebservices.com/AWSECommerceService/latest/DG/index.ht...

The new endpoints are:
CN:
http://webservices.amazon.cn
https://webservices.amazon.cn
IT:
http://webservices.amazon.it
https://webservices.amazon.it

Comments

enzo de simone’s picture

rfay’s picture

Status: Active » Fixed

Amazon does not currently provide a locale for Italy in their API (see http://docs.amazonwebservices.com/AWSECommerceService/latest/DG/). When they do, patches will be welcome, but until then we don't have any way to do it.

enzo de simone’s picture

OK. Thanks

fragtom’s picture

Amazon.it provides from now on an amazon.it Partnernet. "API support for Italy and China are coming soon." Keep updated on https://forums.aws.amazon.com/thread.jspa?messageID=208570&#208570
Best Tom

rfay’s picture

Good to know, and glad your eye is pointed there!

rfay’s picture

Title: API for Amazon Italy » Support Amazon Italy and China Locales when they become available
Status: Fixed » Active
pancho’s picture

Version: 6.x-1.x-dev » 7.x-1.x-dev
Component: Miscellaneous » Code
Category: feature » task
Status: Active » Postponed

Will be added as soon as the API gets published.

enzo de simone’s picture

No news from the Italian site?

rfay’s picture

Status: Postponed » Active

Apparently Italian has been released, #1238474: Italian API (marked as duplicate).

Patches are welcome on this. I won't be working on it.

p4trizio’s picture

Ok Guys who is gonna do this? We waited for so long for this locale API!
I'm going to struggle a little bit, I'll tell you what I can do. Don't rely too much on me because I'm just a php beginner

rfay’s picture

Actually, this isn't very hard at all for Amazon. I was thinking of Amazon Store, where much more work would have to be done.

I think all you have to do is add the appropriate new info to _amazon_default_locales() and that will be it.

cescosa’s picture

would be great if it would be work just adding some line to the module...I have tried to modify "amazon.module" adding

$locales['IT'] = array(
'url' => 'http://ecs.amazonaws.it/onca/xml',
'name' => t('Italy'),
);

but it doesn't work :-(

any help?
francesco

rfay’s picture

Issue summary: View changes

Add announcement message

rfay’s picture

I added information about the endpoints to the issue summary at the top.

I think we will also need to change the API version to the latest (2011-08-01).

I *know* that you have to clear the cache after making changes.

cescosa’s picture

StatusFileSize
new32.99 KB

Hi I have added the line in _amazon_default_locales()
but it doesn't work...

in attachment my file

I have read this stuff
(http://docs.amazonwebservices.com/AWSECommerceService/latest/DG/index.ht...)

rfay’s picture

Status: Active » Needs review
StatusFileSize
new1.51 KB

This patch does what it takes. You do have to clear the cache after patching.

cescosa’s picture

Yes...cache was clean...

when I try a test, this is the error log: "HTTP code 400 accessing Amazon's AWS service: UnsupportedVersion, Version 2010-09-01 is unsupported. Please use 2011-04-01 or greater instead."

cescosa’s picture

yess....I find the issue:

in the amazon.module we have to change also
define('AMAZON_ECS_SCHEMA', '2010-09-01');
with
define('AMAZON_ECS_SCHEMA', '2011-04-01');

now it works...thank you!

rfay’s picture

Please read the issue. #15 has a patch that includes this and will work for you.
+define('AMAZON_ECS_SCHEMA', '2011-08-01');

rfay’s picture

Status: Needs review » Fixed

Committed: D7: c1869ba, D6: 2d9efba

p4trizio’s picture

Just installed dev, it works perfectly

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

Anonymous’s picture

Issue summary: View changes

Added information about the endpoints