Script 'Out of Range' error with Authorize.net
Sample Error
Microsoft VBScript runtime error '800a0009'
Subscript out of range: '[number: 5]'
../includes/processcc.asp, line 206
Subscript out of range: '[number: 5]'
../includes/processcc.asp, line 206
Solution or Workaround
This error can occur if a parameter is missing, the PDshop scripts were altered, or your settings in the Authorize.net control panel are incorrect.
In your Authorize.net Control panel you would need to check your setup preferences.
Here are a few recommended settings.
Under Transaction Response
Transaction Version: 3.1
Response/Receipt URLs: (blank or set to defaults)
Relay Response: (blank)
Silent Post URL: (blank)
Direct Response
Delimited Response: Yes
Field Separator: | (pipe)
Field Encapsulation: (blank)
* with older versions or Standard version, you may need to select (comma) for Field Separator.
Under Security:
MD5 Hash: (blank)
Upgrading Notes:
You should download and install the latest revision of PDshop and make sure you install all of the new files. If you try to mix new with old, you can get issues such as this. Also, check the delimiter variable in the "processcc.asp" script (if present), set to "|" not a comma.
In your Authorize.net Control panel you would need to check your setup preferences.
Here are a few recommended settings.
Under Transaction Response
Transaction Version: 3.1
Response/Receipt URLs: (blank or set to defaults)
Relay Response: (blank)
Silent Post URL: (blank)
Direct Response
Delimited Response: Yes
Field Separator: | (pipe)
Field Encapsulation: (blank)
* with older versions or Standard version, you may need to select (comma) for Field Separator.
Under Security:
MD5 Hash: (blank)
Upgrading Notes:
You should download and install the latest revision of PDshop and make sure you install all of the new files. If you try to mix new with old, you can get issues such as this. Also, check the delimiter variable in the "processcc.asp" script (if present), set to "|" not a comma.
Related Topics
Article Applies to:
ASP (classic Active Server Pages), PDshopPro / Standard, PDshop Plus, PDshop Advanced
Search for help...