cancel
Showing results for 
Search instead for 
Did you mean: 

test cards accepted in live mode

I switched my Authorise.net account to Live mode, but test cards are not being declined. For instance when I try to pay with a card 4242424242424242 the transsaction is approved.

 

Here is the return response that I receive when using the test card:

Successfully created transaction with Transaction ID: 0 Transaction Response Code: 1 Message Code: 1 Auth Code: 000000 Description: This transaction has been approved.

 

net\authorize\api\contract\v1\CreateTransactionResponse Object ( [transactionResponse:net\authorize\api\contract\v1\CreateTransactionResponse:private] => net\authorize\api\contract\v1\TransactionResponseType Object ( [responseCode:net\authorize\api\contract\v1\TransactionResponseType:private] => 1 [rawResponseCode:net\authorize\api\contract\v1\TransactionResponseType:private] => [authCode:net\authorize\api\contract\v1\TransactionResponseType:private] => 000000 [avsResultCode:net\authorize\api\contract\v1\TransactionResponseType:private] => P [cvvResultCode:net\authorize\api\contract\v1\TransactionResponseType:private] => [cavvResultCode:net\authorize\api\contract\v1\TransactionResponseType:private] => [transId:net\authorize\api\contract\v1\TransactionResponseType:private] => 0 [refTransID:net\authorize\api\contract\v1\TransactionResponseType:private] => [transHash:net\authorize\api\contract\v1\TransactionResponseType:private] => [testRequest:net\authorize\api\contract\v1\TransactionResponseType:private] => 1 [accountNumber:net\authorize\api\contract\v1\TransactionResponseType:private] => XXXX4242 [entryMode:net\authorize\api\contract\v1\TransactionResponseType:private] => [accountType:net\authorize\api\contract\v1\TransactionResponseType:private] => Visa [splitTenderId:net\authorize\api\contract\v1\TransactionResponseType:private] => [prePaidCard:net\authorize\api\contract\v1\TransactionResponseType:private] => [messages:net\authorize\api\contract\v1\TransactionResponseType:private] => Array ( [0] => net\authorize\api\contract\v1\TransactionResponseType\MessagesAType\MessageAType Object ( [code:net\authorize\api\contract\v1\TransactionResponseType\MessagesAType\MessageAType:private] => 1 [description:net\authorize\api\contract\v1\TransactionResponseType\MessagesAType\MessageAType:private] => This transaction has been approved. ) ) [errors:net\authorize\api\contract\v1\TransactionResponseType:private] => [splitTenderPayments:net\authorize\api\contract\v1\TransactionResponseType:private] => [userFields:net\authorize\api\contract\v1\TransactionResponseType:private] => Array ( [0] => net\authorize\api\contract\v1\UserFieldType Object ( [name:net\authorize\api\contract\v1\UserFieldType:private] => customerLoyaltyNum [value:net\authorize\api\contract\v1\UserFieldType:private] => 1128....73 ) [1] => net\authorize\api\contract\v1\UserFieldType Object ( [name:net\authorize\api\contract\v1\UserFieldType:private] => favoriteColor [value:net\authorize\api\contract\v1\UserFieldType:private] => blue ) ) [shipTo:net\authorize\api\contract\v1\TransactionResponseType:private] => [secureAcceptance:net\authorize\api\contract\v1\TransactionResponseType:private] => [emvResponse:net\authorize\api\contract\v1\TransactionResponseType:private] => [transHashSha2:net\authorize\api\contract\v1\TransactionResponseType:private] => 6CB70BE4E...........................C946BF10E35E71A6F151B...............3FEF5A78B1C575770 [profile:net\authorize\api\contract\v1\TransactionResponseType:private] => [networkTransId:net\authorize\api\contract\v1\TransactionResponseType:private] => ) [profileResponse:net\authorize\api\contract\v1\CreateTransactionResponse:private] => [refId:net\authorize\api\contract\v1\ANetApiResponseType:private] => ref16....5987 [messages:net\authorize\api\contract\v1\ANetApiResponseType:private] => net\authorize\api\contract\v1\MessagesType Object ( [resultCode:net\authorize\api\contract\v1\MessagesType:private] => Ok [message:net\authorize\api\contract\v1\MessagesType:private] => Array ( [0] => net\authorize\api\contract\v1\MessagesType\MessageAType Object ( [code:net\authorize\api\contract\v1\MessagesType\MessageAType:private] => I00001 [text:net\authorize\api\contract\v1\MessagesType\MessageAType:private] => Successful. ) ) ) [sessionToken:net\authorize\api\contract\v1\ANetApiResponseType:private] => )

 

I just need a flag in the response to detect that the transaction is successful OR not successful

1 REPLY 1

@eldargaifullin wrote:

I switched my Authorise.net account to Live mode, but test cards are not being declined. For instance when I try to pay with a card 4242424242424242 the transsaction is approved.

 

Here is the return response that I receive when using the test card on prices in Pakistan:

Successfully created transaction with Transaction ID: 0 Transaction Response Code: 1 Message Code: 1 Auth Code: 000000 Description: This transaction has been approved on the fabrics.

 

just need a flag in the response to detect that the transaction is successful OR not successful


You should disable it and should clean your browser cache for it to work.