cool! thanks! I am not a programmer, so anything I do is likely to be ugly looking at best.. hehe
cool! thanks! I am not a programmer, so anything I do is likely to be ugly looking at best.. hehe
This fix is rolled into an updated module:
http://www.zen-cart.com/forum/showth...490#post563490
.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donations always welcome: www.zen-cart.com/donate
Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.
I found another reason for receiving this error (and have gotten it several times because of this other reason).
If the purchaser name or address includes any invalid characters, it will throw this error.
The one that keeps throwing it for us is the degree symbol in the address. It is used in some countries in much the same way that the # is used for us. In the cases where this has happened, we have emailed the customer and told them to remove the symbol from their address, and when they have, the order has gone through correctly.
Not sure if there is a programatic way to correct this, but I thought that I should at least let you know about it.
Thanks for the update
.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donations always welcome: www.zen-cart.com/donate
Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.
Any idea why this error would pop up with the Optional Shipping Insurance module? That module works fine with PayPal, but when you try to use a credit card, it declines. Here is the debug email from LinkPoint:
And yes, we do have the latest LinkpointAPI file which DrByte released earlier this year. I am at a loss on this one. Wondering if it has something to do with the line item:Code:Aug-29-2008 04:49:05 ================================= Response Code: Sending to Gateway: result = LIVE oid = 15619-NlXBm0 ip = 69.225.39.198 ponumber = subtotal = 2.72 tax = 0.07 shipping = 1.34 chargetotal = 4.13 cardnumber = ****** cardexpmonth = 03 cardexpyear = 11 cvmindicator = provided cvmvalue = ****** userid = 3 customerid = 3 name = Joe Smith company = address1 = 4 Lado de Loma Dr address2 = city = Vista state = California country = US phone = 209-251-9222 email = testing@test.com addrnum = 4 Lado de Loma Dr zip = 92011 sname = Test Test saddress1 = 4 Lado de Loma Dr saddress2 = scity = Vista sstate = California szip = 92011 scountry = US comments = Website Order items = Array ( [1] => Array ( [id] => 1881 [description] => Plastic Wallet for Cards [quantity] => 1 [price] => 0.97 ) [2] => Array ( [id] => Surcharge [description] => Shipping Insurance (Protect Your Package): [quantity] => 1 [price] => 1.75 ) ) ordertype = PREAUTH host = secure.linkpt.net port = 1129 keyfile = /home/censored/public_html/store/includes/modules/payment/linkpoint_api/1018371.pem configfile = 1018371 transactionorigin = ECI terminaltype = UNSPECIFIED Result: ( [r_csp] => [r_time] => [r_ref] => [r_error] => SGS-020003: Invalid XML [r_ordernum] => [r_message] => [r_code] => [r_tdate] => [r_score] => [r_authresponse] => [r_approved] => [r_avs] => )
Any ideas?Code:[2] => Array ( [id] => Surcharge [description] => Shipping Insurance (Protect Your Package): [quantity] => 1 [price] => 1.75 )
Actually, I just found my answer! In the language file, I had edited the display and added some hidden HTML to make the text red in color. That apparently was the issue. When I removed it, everything worked fine.
Thanks for the follow up on how you fixed the problem.
Please do not PM for support issues: a private solution doesn't benefit the community.
Be careful with unsolicited advice via email or PM - Make sure the person you are talking to is a reliable source.
I'm having the SGS 20003 error on one gift box. It seems to depend upon the contents of the box (which coffee is chosen) but these same lists work for other parts of the cart. How can I find the offending issue?
Here's one that works:
result=LIVE; oid=506-dKMA9q; ip=209.142.145.124; ponumber=; subtotal=48; tax=0; shipping=7.50; chargetotal=55.5; cardnumber=3723XXXXXXX2003; cardexpmonth=05; cardexpyear=09; cvmindicator=provided; cvmvalue=4002; userid=1; customerid=1; name=michael buhler; company=; address1=7688 w harbor hwy; address2=; city=glen arbor; state=Michigan; country=US; phone=2313343365; email=mike@coffeeguys.com; addrnum=7688 w harbor hwy; zip=49636; sname=michael buhler; saddress1=7688 w harbor hwy; saddress2=; scity=glen arbor; sstate=Michigan; szip=49636; scountry=US; comments=Website Order; items=Array ( [1] => Array ( [id] => 102:02faf4d6e345572b9c7733b842197365 [description] => The Holiday 3 x 3 $48.00 [quantity] => 1 [price] => 48.00 [options0] => Array ( [name] => Grind [value] => Whole Bean ) [options1] => Array ( [name] => 1st Choice [value] => Bakery Blend ) [options2] => Array ( [name] => 2nd Choice [value] => Blend Six ) [options3] => Array ( [name] => 3rd Choice [value] => Cafe Glen Arbor ) ) ) ; ordertype=SALE;
Here's one that declines (SGS-20003):
result=LIVE; oid=506-uOCT9i; ip=209.142.145.124; ponumber=; subtotal=49.5; tax=0; shipping=7.50; chargetotal=57; cardnumber=3723XXXXXXX2003; cardexpmonth=05; cardexpyear=09; cvmindicator=provided; cvmvalue=4002; userid=1; customerid=1; name=michael buhler; company=; address1=7688 w harbor hwy; address2=; city=glen arbor; state=Michigan; country=US; phone=2313343365; email=mike@coffeeguys.com; addrnum=7688 w harbor hwy; zip=49636; sname=michael buhler; saddress1=7688 w harbor hwy; saddress2=; scity=glen arbor; sstate=Michigan; szip=49636; scountry=US; comments=Website Order; items=Array ( [1] => Array ( [id] => 102:f84a86182048c6eb502be18c709ec638 [description] => The Holiday 3 x 3 $48.00 [quantity] => 1 [price] => 49.50 [options0] => Array ( [name] => Grind [value] => Whole Bean ) [options1] => Array ( [name] => 1st Choice [value] => Chocolate Raspberry ) [options2] => Array ( [name] => 2nd Choice [value] => Caramel & Pralines ) [options3] => Array ( [name] => 3rd Choice [value] => Manitou Blueberry ) ) ) ; ordertype=SALE;
Can anyone see what the problem is?
Thanks,
Mike
It's the & in your attribute description.
A beta patch was posted elsewhere to deal with that. But the fastest way is to remove the & from your attribute names and values.
http://www.zen-cart.com/forum/showth...031#post630031
.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donations always welcome: www.zen-cart.com/donate
Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.
Ah-ha! Thank you!!
Mike
Bookmarks