Testing CIM API

Okay so can someone please explain how i can test using the CIM?

 

when using apitest.authorize.net/.

ErrorE00007User authentication failed due to invalid authentication values.

So I will use my developer account....

 

While requesting the ARB API, why am I receiving error E00009 "The payment gateway account is in Test Mode. The request cannot be processed."?
The ARB API does not function in Test Mode. You need to disable Test Mode in your Authorize.Net account settings. To disable Test Mode please log into the Merchant Interface and click Settings. Click the link for Test Mode and disable it by clicking the button titled Turn Test Off.

 

 

however using api.authorize.net/.

 ErrorE00009The payment gateway account is in Test Mode. The request cannot be processed.

 

You can test CIM by using the test URL specified in the integration guide: https://apitest.authorize.net/xml/v1/request.api

 

In development/sandbox account I get a completly different responses, the credit cards are voided and are not returning success. Fails work though..

 

please see my other post:

http://community.developer.authorize.net/t5/Integration-and-Testing/Process-a-transaction-CIM-using-...

 

In a normal/Real account it does return success using the "TEST CREDIT CARDS"....but I cant test the CIM using those cards due to the 00009 error.

 

How can I test the CIM, to return a successful credit card transaction response?

 


 

<text>Successful.</text>

 

http://www.authorize.net/support/CIM_XML_guide.pdf  page 87:

 

<?xml version="1.0" encoding="utf-8"?>
<createCustomerPaymentProfileResponse xmlns="AnetApi/xml/v1/schema/
AnetApiSchema.xsd">
<messages>
<resultCode>Ok</resultCode>
<message>
<code>I00001</code>
<text>Successful.</text>
</message>
</messages>
<customerPaymentProfileId>20000</customerPaymentProfileId>
<validationDirectResponse>1,1,1,This transaction has been
approved.,000000,Y,2000000000,none,Test transaction for
ValidateCustomerPaymentProfile.,0.01,CC,auth_only,custId123,
John,Doe,,123 Main St.,Bellevue,WA,98004,USA,000-000-
0000,,mark@example.com,,,,,,,,,0.00,0.00,0.00,,none,
D18EB6B211FE0BBF556B271FDA6F92EE,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
</validationDirectResponse>
</createCustomerPaymentProfileResponse>

 

more on page 89 for transactions....

 


Knowing this from my research, and testing:

 

Transaction:

will not return successful in developer apitest.authorize.net/

Will return successful in api.authorize.net

 

CreatePaymentProfile:

can not create a payment profile using api.authorize.net ....

You can create a payment profile using apitest.authorize.net....

 

 

My question developed is how can I create a payment profile and return a successful transaction without going into live mode?

 

 

Maby all my code is messed up, idk why my code would work half way and fail someplace else that it dont fail in the test envorment, and vice versa.. the code will work, but fail in another place that was working in the production envorment?


GregTampa
Contributor
1 ACCEPTED SOLUTION

Accepted Solutions

Never use test mode if you can avoid it. Use a developer account in live mode to test with. See my signature for links.

View solution in original post

TJPride
Expert
2 REPLIES 2

Never use test mode if you can avoid it. Use a developer account in live mode to test with. See my signature for links.

TJPride
Expert

yeah i got it all working now...thanks.