cancel
Showing results for 
Search instead for 
Did you mean: 

Who Me Too'd this topic

Android integration - Where to put the API Login ID & Transaction Key

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

 

 

fabienmp
Member
Who Me Too'd this topic