cancel
Showing results forย 
Search instead forย 
Did you mean:ย 

*** CIM Error using Sample Authorize.net Code - HELP ***

Hello,

 

I am using the sample ASP code from Authorize.net for CIM but I am getting this error:

Create profile...

API URL: https://apitest.authorize.net/xml/v1/request.api

Raw request: <?xml version="1.0" encoding="utf-8"?><createCustomerProfileRequest xmlns="AnetApi/xml/v1/schema/AnetApiSchema.xsd"><merchantAuthentication> <name>YourUserLogin</name> <transactionKey>YourTranactionKey</transactionKey></merchantAuthentication><profile> <merchantCustomerId>custId123</merchantCustomerId> <description>some description</description> <email></email></profile></createCustomerProfileRequest>

 

msxml3.dll

error '800c0008'

The download of the specified resource has failed.

/dev_test1/asp_cim/util.asp, line 29

 

 

Please help!

bcbean
Member
7 REPLIES 7

The error at the end of your post appears to be a "file not found" type of error. The file "util.asp" is included in the CIM ASP Classic sample code download. You will want to make sure that it is in the correct place on the server so that your script can find it.

Trevor
Administrator Administrator
Administrator

util.asp is in the correct place.  What else could be causing this error?

Do I need to buy a SSL certificate before using CIM?

If is on a web site, Yes.

So is the solution at http://community.developer.authorize.net/t5/Integration-and-Testing/Classic-ASP-sample-code-for-AIM-...  a work-around to use CIM so a SSL certificate is NOT needed (for testing purposes)?

SSL is not needed for testing.

But I think the error you were getting is probably because the Microsoft.XMLHTTP is not found.

instead of

Set objRequest = Server.CreateObject("Microsoft.XMLHTTP")

use the following

Set objRequest = Server.CreateObject("MSXML2.ServerXMLHTTP.4.0")