Hello I'm new with authorize.net and i'm trying to get familiar with it i have been seen some examples to understand better how it works, But I do have a question for the Transaction Response Fields in the Payment Gateway Response.
I want to get the las 4 digits of the credit card number and I read that order 51(account number) gives that, but I don't know how to get it i tried just to read it in that position but it seems like nothing is in it
thanks in advance
10-08-2015 08:10 AM
What about the other 50+ fields? are they all blank?
10-08-2015 08:36 AM
I ran an example a simple payment with the following fields
post_values.Add("x_login", "XXXX")
post_values.Add("x_tran_key", "XXXXXX")
post_values.Add("x_test_request", "TRUE")
post_values.Add("x_version", "3.0")
post_values.Add("x_currency_code", "USD")
post_values.Add("x_type", "AUTH_CAPTURE")
post_values.Add("x_delim_data", "TRUE")
post_values.Add("x_delim_char", "|")
post_values.Add("x_relay_response", "FALSE")
post_values.Add("x_method", "CC")
post_values.Add("x_card_num", textbox_creditcardnumber.Text.Trim)
post_values.Add("x_exp_date", textbox_expdate.Text.Trim)
post_values.Add("x_amount", textbox_paymentauth.Text.Trim)
post_values.Add("x_description", "description")
post_values.Add("x_first_name", textbox_creditcardholder.Text.Trim)
post_values.Add("x_last_name", textbox_creditcardholderlname.Text.Trim)
And when I read the values it gives me 1-38 some of the fields are blank but still reads the position, then I just tried to read
array(50) to see if anyway it had the account number but no there is no blank value there it seems like if that position didn't exist.
Thanks again for your help!
10-08-2015 08:51 AM
http://www.authorize.net/content/dam/authorize/documents/AIM_guide.pdf
10-08-2015 09:57 AM
Thanks so muchhhhhhhh for your help !!!!
10-08-2015 10:34 AM