Closed GoogleCodeExporter closed 8 years ago
I saved my entry object as xml (entry.SaveToXml) to view what was the result
and I have pasted it at the bottom. It doesnt seem that much different from
POST demo at http://code.google.com/apis/shopping/content/demo/demo.html other
than the fact that the namespaces are missing (i am assuming that that is taken
care off by the library). Any ideas why the shipping and tax information is not
being saved?
<entry xml:lang="it">
<sc:id>123457</sc:id>
<sc:target_country>US</sc:target_country>
<sc:content_language>en</sc:content_language>
<scp:brand>ACME</scp:brand>
<scp:condition>new</scp:condition>
<scp:price unit="usd">25</scp:price>
<scp:product_type>Clothing & Accessories > Clothing > Outerwear > Sweaters</scp:product_type>
<scp:quantity>3</scp:quantity>
<scp:shipping_weight unit="lb">0.1</scp:shipping_weight>
<scp:color>red</scp:color>
<scp:color>blue</scp:color>
<scp:shipping>
<scp:shipping_country>US</scp:shipping_country>
<scp:shipping_region>MA</scp:shipping_region>
<scp:shipping_service>Speedy Shipping - Ground</scp:shipping_service>
<scp:shipping_price unit="USD">5.95</scp:shipping_price>
</scp:shipping>
<scp:tax>
<scp:tax_country>US</scp:tax_country>
<scp:tax_region>CA</scp:tax_region>
<scp:tax_rate>8.25</scp:tax_rate>
<scp:tax_ship>True</scp:tax_ship>
</scp:tax>
<sc:image_link>http://www.example.com/1.jpg</sc:image_link>
<title type="text">Wool sweater</title>
<link href="http://express.staging.iclearpath.com" rel="alternate" type="text/html"/>
<content type="text">Comfortable and soft, this sweater will keep you warm on those cold winter nights. Red and blue stripes.</content>
</entry>
Original comment by shak...@gmail.com
on 1 Jun 2011 at 2:46
If you can reproduce the issue by sending raw requests without the client
library, it is likely that the problem is not in the library but instead
server-side.
Please try asking in the Content API for Shopping forum:
https://groups.google.com/forum/#!forum/google-content-api-for-shopping
Thanks
Claudio
Original comment by ccherub...@google.com
on 1 Jun 2011 at 6:48
Original issue reported on code.google.com by
shak...@gmail.com
on 1 Jun 2011 at 3:28