I am having no luck in test using the test card 4222222222222222. I realize that in my developer environment [I am developing in Visual Foxpro 9 sp2] I cannot test the AVS or CCV,however I should be able to test thing line Expired Card,[8], duplicate trans[11] or not found [16], etc.
All I get back "The credit card number is invalid" the string I am sending contains the 4222.. number with an amount equal to the response code I am testing as in the following [I have bolded the items for you:
x_login=XXXXXXX&x_tran_key=XXXXXXXX&x_delim_data=TRUE&x_delim_char=|&x_relay_response=FALSE&x_type=AUTH_CAPTURE&x_method=CC&x_card_num=4222222222222222&x_exp_date=062013&x_login=XXXXXXX&x_tran_key=XXXXXXXXX&x_delim_data=TRUE&x_delim_char=|&x_relay_response=FALSE&x_type=AUTH_CAPTURE&x_method=CC&x_card_num=4222222222222222&x_exp_date=062013&x_amount=8.00&x_description=Sample Transaction&x_first_Name=JAMES&x_last_Name=WOOLDRIDGE&x_address=BLDG 15 ROOM 164 3423 GUADALCANAL ROAD&x_state=CA&x_zip=92155&x_cust_id=9NC526&x_po_num=M-5731327&x_duplicate_window=5&x_invoice_num=343702&x_trans_id=x_test_request=TRUE&x_description=Sample Transaction&x_first_Name=JAMES&x_last_Name=WOOLDRIDGE&x_address=BLDG 15 ROOM 164 3423 GUADALCANAL ROAD&x_state=CA&x_zip=92155&x_cust_id=9NC526&x_po_num=M-5731327&x_duplicate_window=5&x_invoice_num=343702&x_trans_id=x_test_request=TRUE
Solved! Go to Solution.
There are two problem with your string.
1)x_card_num=4222222222222.
remove the "."
2)x_trans_id=x_test_request=TRUE
missing a "&" between x_trans_id= and x_test_request=TRUE
07-02-2012 05:57 AM
Too many 2's
It is 4222222222222
06-21-2012 12:57 PM
I cut and pasted your 4222222222222 and it to does not work. The number in the AIM Manual is 4222222222222. [with a period at the end and it does not work either.
Now what
06-29-2012 09:17 AM
06-29-2012 12:45 PM
Can you please show me an example string.
My string is x_login=XXXXXXXXX&x_tran_key=XXXXXXXXXX&x_delim_data=TRUE&x_delim_char=|&x_relay_response=FALSE
&x_type=AUTH_ONLY&x_method=CC&x_card_num=4222222222222.&x_card_code=1234&x_exp_date=062013
&x_amount=11.00&x_description=Sample Transaction&x_first_Name=JAMES&x_last_Name=WOOLDRIDGE&x_address=BLDG 15 ROOM 164 3423 GUADALCANAL ROAD&x_state=CA&x_zip=92155&x_cust_id=9NC526&x_po_num=M-5731327&x_duplicate_window=5&x_invoice_num=343702&x_trans_id=x_test_request=TRUE
07-02-2012 05:26 AM - last edited on 07-02-2012 09:29 AM by Michelle
There are two problem with your string.
1)x_card_num=4222222222222.
remove the "."
2)x_trans_id=x_test_request=TRUE
missing a "&" between x_trans_id= and x_test_request=TRUE
07-02-2012 05:57 AM
You were correct on both counts. I was missing the & and I had added the period(.) to the end of the 422..... However, in my defense the manual I am using list the following NOTEthe period is inside the quottin marks.:
“4222222222222.”
Thank you for you help
07-02-2012 06:35 AM