Hi,
I am doing card present integration and I see this URL
https://cardpresent.authorize.net/gateway/transact.dll
for posting the request. Is this for real account? I have a sandbox account setup, what would be the URL for sandbox account.
โ05-09-2011 11:24 AM
Hi simpalmdev,
The POST to URL for sandbox Card Present accounts is the same as it is for Card Not Present accounts:
https://test.authorize.net/gateway/transact.dll
Thank you,
Elaine
โ05-11-2011 12:33 PM
Is this still true ?
I have signed up for a Card Present test account and have submitted test requets against the following endpoint:
'https://test.authorize.net/gateway/transact.dll'
Here are the params being submitted:
PARAMS {"x_cpversion"=>["1.0"], "x_login"=>["<my_login>"], "x_tran_key"=>["<my_key>"], "x_market_type"=>["2"], "x_device_type"=>[""], "x_type"=>["AUTH_CAPTURE"], "x_response_format"=>["1"], "x_delim_char"=>[","], "x_encap_char"=>["$"], "x_currency_code"=>["USD"], "x_invoice_num"=>[""], "x_description"=>[""], "x_first_name"=>[""], "x_last_name"=>[""], "x_track1"=>["<some test track data>"], "x_amount"=>["0.10"], "x_test_request"=>["TRUE"]}
I get the following error response message: "(TESTMODE) The credit card has expired"
The Authorize.net documnetation states that for Card Present transactions that the expiration date is not required if track1 or track2 data is present. From the PDF:
x_exp_date | Customer's card expiration date | Must be supplied if neither x_track1 nor x_track2 data is submitted. |
UPDATE: I gotten the same error when testing against the live endpoint (https://cardpresent.authorize.net/gateway/transact.dll) usign the x_test_request => TRUE parameter. Now I am confused about the Card Present transactions in either live or testing scnerios.
Why am I getting this error ?
โ02-08-2013 12:33 PM - edited โ02-08-2013 12:41 PM
It work fine. You can copy and paste the test URL and put in your loginID and transactionKey to try it.
If you don't have x_track1 the error is 1.0,3,33 Credit card number is required. and not the The credit card has expired.
Are you sure the test track1 data didn't have a expired date in the past?
โ02-08-2013 01:11 PM
Thank you for verifying Raynor. I will make sure that our test data is not coming from an expired card.
โ02-08-2013 01:23 PM