Closed (fixed)
Project:
Amazon Product Advertisement API
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
24 Nov 2010 at 06:52 UTC
Updated:
19 Aug 2011 at 09:01 UTC
Jump to comment: Most recent file
Comments
Comment #1
enzo de simone commentedhttp://amazon.it
Comment #2
rfayAmazon 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.
Comment #3
enzo de simone commentedOK. Thanks
Comment #4
fragtom commentedAmazon.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𲺺
Best Tom
Comment #5
rfayGood to know, and glad your eye is pointed there!
Comment #6
rfayComment #7
panchoWill be added as soon as the API gets published.
Comment #8
enzo de simone commentedNo news from the Italian site?
Comment #9
rfayApparently Italian has been released, #1238474: Italian API (marked as duplicate).
Patches are welcome on this. I won't be working on it.
Comment #10
p4trizio commentedOk 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
Comment #11
rfayActually, 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.
Comment #12
cescosa commentedwould 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
Comment #12.0
rfayAdd announcement message
Comment #13
rfayI 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.
Comment #14
cescosa commentedHi 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...)
Comment #15
rfayThis patch does what it takes. You do have to clear the cache after patching.
Comment #16
cescosa commentedYes...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."
Comment #17
cescosa commentedyess....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!
Comment #18
rfayPlease read the issue. #15 has a patch that includes this and will work for you.
+define('AMAZON_ECS_SCHEMA', '2011-08-01');
Comment #19
rfayCommitted: D7: c1869ba, D6: 2d9efba
Comment #20
p4trizio commentedJust installed dev, it works perfectly
Comment #21.0
(not verified) commentedAdded information about the endpoints