Hello,
I am currently integrating the Authorize.net SDK on the android platform.
I am able to successfully send my transactions with the test account.
However, I would like to skip the "Login / Password" screen when the transaction
is processed. Note that I am not currently using the "API Login ID & Transaction Key"
but the login and password of my test account. So the real question is :
Where to put the API Login ID & Transaction Key inside the code.
authNetObj = AuthNet
.getInstance(Environment.PRODUCTION,
R.layout.authnet_mobile_merchant_auth_dialog,
R.id.authnet_loginid_edit, R.id.authnet_password_edit,
R.id.authnet_auth_cancel_button,
R.id.authnet_auth_login_button);
//NO API Login ID & Transaction Key args ?
Intent authNetIntent = authNetObj.createAIMAuthCaptureIntent(this,
refId, totalAmount, creditCard, order, customer, shippingAddress,
shippingCharges, emailReceipt, merchantDefinedFields);
Thank you
11-30-2011 01:28 AM
For security reasons, it is not recommended to store your login ID and Transaction Key on your mobile device. Therefore, the SDKs are not designed to support that method of authentication.
12-02-2011 02:24 PM
You could, however, theoretically have a web site that acts as an intermediary between the phone and Authorize.net, as in the phone posts securely to the web site and then the web site posts securely to Authorize.net (AIM) and then forwards back the result codes.
12-03-2011 12:49 AM