Ecommerce software home
Shopping Cart Software Forum for Ecommerce Templates
 
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

Find us on Facebook Follow us on Twitter View our YouTube channel
Search our site
 All Forums
 Technical
 ASP (Windows server) versions
 Error in Coding on V7.1.8
Author « Topic »  

C4009
Ecommerce Template Expert

USA
612 Posts

Pre-sales questions only
(More Details...)

Posted - 01/28/2020 :  11:28:35  
I had problems getting orders to not error out when there was a different shipping address from the billing address. After working with the code I believe I found a problem.

in vsadmin/inv/inccart.asp Line 6032 it states

rs2.close
firstname=rs("ordShipName") : lastname=rs("ordShipLastName")
if NOT usefirstlastname then call splitname(rs("ordName"),firstname,lastname)

I changed: if NOT usefirstlastname then call splitname(rs("ordName"),firstname,lastname)

to

if NOT usefirstlastname then call splitname(rs"ordShipName"),firstname,lastname)

and it works again.

Please confirm that my change is accurate. Thank you.

Charles Goldberg
SleepRestfully.com and NaturalCare4u.com

Vince
Administrator

42455 Posts

Posted - 01/29/2020 :  03:43:52  
Hi Charles
That looks correct what you've done but to tell the truth, it would only affect the shipping name that is sent to Authorize.net with a transaction, it shouldn't cause (or cure) an error. Could you let me know the error message you are getting and that might help cure this?

Vince

Click Here for Shopping Cart Software
Click Here to sign up for our newsletter
Click Here for the latest updater

C4009
Ecommerce Template Expert

USA
612 Posts

Pre-sales questions only
(More Details...)

Posted - 01/29/2020 :  07:16:33  
Below please find the error code we received when processing an order that had a different billing address from shipping address. It may be coincidental but after making the change mentioned the error code seems to have stopped. If you have other explanation or fixes I need to do please let me know. My original post was all I could find.

ADODB.Recoreset errpr '800a0cc1'
Item cannot be found in the collection corresponding to the requested name or ordinal
/vsadmin/inc/inccart.asp, line 6366

Thank you for your help,

Charles

Vince
Administrator

42455 Posts

Posted - 01/29/2020 :  07:25:35  
Hi Charles
Line 6366 of inccart.asp shouldn't give that error. Have you had any MODs done maybe? If not, are you sure the inccart.asp script was updated properly?

Vince

Click Here for Shopping Cart Software
Click Here to sign up for our newsletter
Click Here for the latest updater

C4009
Ecommerce Template Expert

USA
612 Posts

Pre-sales questions only
(More Details...)

Posted - 01/29/2020 :  07:39:35  
Vince,

I think it may be our coding of the Financing API that caused it. It has been removed and we are working on getting it to work as it did before the update in a secure environment. That being said I agree with you that the error I found was an error that needed correcting however, it was not the cause of the error out when processing a sale with a different ship to address than the bill to address. Funny thing is every order with only a "Bill to" address went through without a hitch. I will be interested to see what ends up causing the issue and will let you know. Thank you for your assistance.

Charles

Vince
Administrator

42455 Posts

Posted - 01/29/2020 :  11:23:49  
Hi Charles
This error is normally easy to track down. Just go to line 6366 of inccart.asp and you will probably see an attempt to read from a recordset, say for instance...
xxx=rs("myDBColumn")
Then look and make sure "myDBColumn" is actually in the SQL SELECT statement list of columns.

I've added the fix for the problem you spotted to the updater.

Vince

Click Here for Shopping Cart Software
Click Here to sign up for our newsletter
Click Here for the latest updater
  « Topic »  
Jump To:
Shopping Cart Software Forum for Ecommerce Templates © 2002-2022 ecommercetemplates.com
This page was generated in 0.02 seconds. Snitz Forums 2000