cancel
Showing results for 
Search instead for 
Did you mean: 

CIM Error connecting to AuthorizeNet with Sandbox Live

I am using the latest SDK in php for CIM transaction, I created a customerProfileId, customerPaymentProfileId and customerShippingAddressId.

I am able to generate all the three fileds but when I tries to create a transaction using my sandbox account(LIVE MODE) , in response I got “[error_message] => Error connecting to AuthorizeNet”. I checked the AuthorizeNetRequest.php and $VERIFY_PEER is set to false.

 

I searched for the answer and most of the people says its from Sandbox server end.

 

Here is my code which I am using for making a transaction:

 

$transaction1 = new AuthorizeNetTransaction;
$transaction1->amount = "25";
$transaction1->customerProfileId ="35898569";
$transaction1->customerPaymentProfileId = "32449285";
$transaction1->customerShippingAddressId = "33982378";

$lineItem = new AuthorizeNetLineItem;
$lineItem->itemId = "25";
$lineItem->name = "my prod";
$lineItem->description = "dfsdfsd ";
$lineItem->quantity = "1";
$lineItem->unitPrice = "25";
$lineItem->taxable = "false";
$transaction1->lineItems[] = $lineItem;
$request1 = new AuthorizeNetCIM;
$response1 = $request1->createCustomerProfileTransaction("AuthCapture", $transaction1);
$transactionResponse1 = $response1->getTransactionResponse();

 

If I set Sandbox TEST Mode on then I get “[E00009] The payment gateway account is in Test Mode. The request cannot be processed.”

 

It is very important for to resolve this issue as I am having a deadline set for Monday. I would realy appreciate any help if you can.

1 ACCEPTED SOLUTION

Accepted Solutions

We are investigating slow performance and timeouts in the sandbox.  Please refer to this thread for updates: https://community.developer.authorize.net/t5/Integration-and-Testing/Sandbox-Error-creating-charges-...

 

Richard

View solution in original post

RichardH
Administrator Administrator
Administrator
3 REPLIES 3

We are investigating slow performance and timeouts in the sandbox.  Please refer to this thread for updates: https://community.developer.authorize.net/t5/Integration-and-Testing/Sandbox-Error-creating-charges-...

 

Richard

RichardH
Administrator Administrator
Administrator

Oh Yes, Its working now.

 

 

Thanks

Hi,

 I am using sandbox Account, and i am facing same problem, Any solution ??

[_response_array:AuthorizeNetAIM_Response:private] => Array
(
)

[approved] =>
[declined] =>
[error] => 1
[held] =>
[response_code] =>
[response_subcode] =>
[response_reason_code] =>
[response_reason_text] =>
[authorization_code] =>
[avs_response] =>
[transaction_id] =>
[invoice_number] =>
[description] =>
[amount] =>
[method] =>
[transaction_type] =>
[customer_id] =>
[first_name] =>
[last_name] =>
[company] =>
[address] =>
[city] =>
[state] =>
[zip_code] =>
[country] =>
[phone] =>
[fax] =>
[email_address] =>
[ship_to_first_name] =>
[ship_to_last_name] =>
[ship_to_company] =>
[ship_to_address] =>
[ship_to_city] =>
[ship_to_state] =>
[ship_to_zip_code] =>
[ship_to_country] =>
[tax] =>
[duty] =>
[freight] =>
[tax_exempt] =>
[purchase_order_number] =>
[md5_hash] =>
[card_code_response] =>
[cavv_response] =>
[account_number] =>
[card_type] =>
[split_tender_id] =>
[requested_amount] =>
[balance_on_card] =>
[response] =>
[error_message] => Error connecting to AuthorizeNet

ajay
Member