For full functionality of this site it is necessary to enable JavaScript.
Here are the instructions how to enable JavaScript in your web browser.

Knowledge base

Find the answer to your question

Advanced Search PView

Search terms
Search Type
Product
Category
Language
Format
SDK
Sort by
Direction

CheckoutInstructions may not allow up to 500 characters in some cases

  • Answer ID 481
  • Published 06/15/2006 12:00 AM
  • Updated 10/20/2013 06:41 AM
  • Permalink https://ebaydts.com/eBayKBDetails?KBid=481
Product
My AddItem call is returning an error about CheckoutInstructions being too long:
"The checkout instructions text should not be longer than 500 characters."

I double checked the number of characters in my CheckoutInstructions, and it is certainly less than 500 characters.
What is going on?

The problem could be that you have a number of characters within your CheckoutInstructions that eBay will HTML encode or perform Entity encoding before making the calcuation against the 500 character limit. This will cause the actual character count to go over 500.
An example of such a character is the single apostrophe character: '
This character will be converted to "'" before the character count is performed.
This effectively increases the character count by 4, so every single apostrophe character will actually count as 5 characters instead of 1.

Here is a list of the known characters that are converted and the string that they are converted to:

' - '
" - "
< - &#60;
> - &#62;
& - &#38; (we do not replace & if it used as escape character)
% - &#37;
\ - &#92;

Also, all ASCII characters with values 0-31 and 127 (except 13 == carriage return, 9 == horizontal tab, 10 == new line, line feed, 127 == DEL) are replaced by a single SPACE

How well did this answer your question?

Answers others found helpful

Print Email This Page Delicious Digg Facebook Reddit StumbleUpon Twitter