Ref URL : http://support.google.com/checkout/sell/bin/answer.py?hl=en&answer=70649

 

1. You must declare the XML documents you send to Google Checkout as follows:

<?xml version="1.0" encoding="UTF-8"?>

 

2. To include the XML reserved characters &, <, and >, you must encode them as hexadecimal character references as shown in the following table:

Character Hexadecimal character reference
& &
< `
> b
  • Example 1:
Make sure to properly encode these characters in the <item-name> and <item-description> tags where they’re often used:
<item-name>HelloWorld MP3 Player & Audio Recorder</item-name>
<item-description>Portable MP3 Player with > 2GB Memory</item-description>
Advertisements