cancel
Showing results for 
Search instead for 
Did you mean: 

Regarding testing with Void/Credit

I am testing with 4111111111111111 trying to perform a void/credit.  I know that VOID will not work if the item is already settled or older than a day I suspect.   SO my code actually tries the VOID 1st and it that fails it tries the CREDIT

 It seems to work just fine except the resposnse is not providing a values other than 0 for the r_transaction_id.  When I first began testing last week I was receiving a trans ID.  Todya I received nothing but a zero.  The request string is as follows for the CREDIT:

x_login=3S7P6jAs5&x_tran_key=3yvTjhK78L82t6By&x_delim_data=TRUE&x_delim_char=|&x_relay_response=FALSE&x_type=CREDIT&x_method=CC&x_card_num=4111111111111111&x_exp_date=042014&x_amount=0.04&x_description=Sample Transaction&x_first_Name=&x_last_Name=&x_address=629 ORANGEWOOD DRIVE SUITE LEE&x_state=VA&x_zip=23453&x_cust_id=POLLAL&x_po_num=&x_duplicate_window=5&x_invoice_num=501645&x_trans_id=2173903012&x_test_request=TRUE

 

The response was:

1|1|1|(TESTMODE) This transaction has been approved.|000000|P|0|501645|Sample Transaction|0.01|CC|credit|POLLAL||||629 ORANGEWOOD DRIVE SUITE LEE||VA|23453||||||||||||||||||9045A3B82B360968A8D3A59690FA49D3|||||||||||||XXXX1111|Visa||||||||||||||||

 

Can anyone tell me why I am receiving a 0 transaction ID when it say this was approved.

 

leemarc
Member
1 REPLY 1

because it in test mode.

RaynorC1emen7
Expert