Quote Originally Posted by DrByte View Post
What version of Zen Cart?
v1.3.8 already limits the 'description' parameter to 100 characters.

You may or may not find this patch useful: http://www.zen-cart.com/forum/showth...462#post520462

I am using v. 1.3.8a

It is appearing as if Linkpoint is adding some text from the various options into the <item><description> fields causing the error.

We tested with a customer, he can successfully order with 1 attribute, but when he placed an order for one with 4 options, it threw the error.

Here is the debug file from one of the failed orders

Code:
Apr-12-2008 03:51:19
=================================

Response Code: DECLINED

Sending to Gateway: 
result = LIVE
oid = 960-q12dKi
ip = 71.182.231.207
ponumber = 
subtotal = 108.99
tax = 0
shipping = 9.19
chargetotal = 118.18
cardnumber = ******
cardexpmonth = 05
cardexpyear = 09
cvmindicator = provided
cvmvalue = ******
userid = 264
customerid = 264
name = William Hxxxxxxx
company = 
address1 = 39 Txxxxxxxx Ln
address2 = 
city = Spxxxxxxxxxx
state = New York
country = US
phone = xxx-xxx-xxxx
email = [email protected]
addrnum = 39 Txxxxxx Ln
zip = 14559
sname = William Hxxxxxxx
saddress1 = 39 Txxxxxxxx Ln
saddress2 = 
scity = Sxxxxxxxxx
sstate = New York
szip = 1xxxx
scountry = US
comments = Website Order
items = Array
(
    [1] => Array
        (
            [id] => 184:722d000d4aa3b69cc6a01b83ec227853
            [description] => HARP Combat Cards PDF
            [quantity] => 1
            [price] => 5.00
            [options0] => Array
                (
                    [name] => Download 1
                    [value] => PDF
                )

        )

    [2] => Array
        (
            [id] => 384:dca3197a19d64c2e93d1467573da9e4c
            [description] => HARP VP 2
            [quantity] => 1
            [price] => 86.10
            [options0] => Array
                (
                    [name] => With Bundled
                    [value] => PDF
                )

            [options1] => Array
                (
                    [name] => With Bundled
                    [value] => PDF2
                )

            [options2] => Array
                (
                    [name] => With Bundled
                    [value] => PDF3
                )

            [options3] => Array
                (
                    [name] => With Bundled
                    [value] => PDF4
                )

        )

    [3] => Array
        (
            [id] => 182:f5b9cdbd8bb9608c6dad80b55bbf2987
            [description] => HARP Gamemaster Screen
            [quantity] => 1
            [price] => 22.00
            [options0] => Array
                (
                    [name] => With Bundled
                    [value] => PDF
                )

        )

    [4] => Array
        (
            [id] => 181:a6d84afbf7f94c38446c7fc11eae6de3
            [description] => The Codex PDF
            [quantity] => 1
            [price] => 8.00
            [options0] => Array
                (
                    [name] => Download 1
                    [value] => PDF
                )

        )

)

ordertype = SALE
host = secure.linkpt.net
port = 1129
keyfile = xxxxxxxxxxxxxxxxxx/xxxxxx.pem
configfile = 560492
transactionorigin = ECI
terminaltype = UNSPECIFIED


Result: 
(
    [r_csp] => 
    [r_time] => Sat Apr 12 13:49:19 2008
    [r_ref] => 
    [r_error] => SGS-005000: The server encountered a database error.
    [r_ordernum] => 960-q12dKi
    [r_message] => 
    [r_code] => 
    [r_tdate] => 
    [r_score] => 
    [r_authresponse] => 
    [r_approved] => DECLINED
    [r_avs] => 
)
We had him purchase each item separately, and everything went through find, except for item #2.

And when we looked back through the other debug files, we found the same pattern -- all failing on items with more than 1 optional item listed.