Reply
Member
Posts: 9
Registered: ‎04-30-2012

*** 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!

Administrator
Posts: 591
Registered: ‎08-21-2009

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

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.

Member
Posts: 9
Registered: ‎04-30-2012

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

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

Expert
Posts: 4,525
Registered: ‎03-08-2010

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

Member
Posts: 9
Registered: ‎04-30-2012

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

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

Expert
Posts: 4,525
Registered: ‎03-08-2010

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

[ Edited ]

If is on a web site, Yes.

Member
Posts: 9
Registered: ‎04-30-2012

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

[ Edited ]

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)?

Expert
Posts: 4,525
Registered: ‎03-08-2010

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

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")