I'm not sure if this the right place to get help... please forgive....
i've setup the Android Sample Application, but i cannot log in, i keep getting "This password is incorrect" yet i can login without problem on the sandbox site.
11-04-2014 09:19 PM
Hi cmklar123,
All our sample application defaults to sandbox so you want to make sure you are using the correct environment.
Thanks,
Joy
11-07-2014 08:32 AM
Can you please explain how to modify so the app works in production mode. I am also having the same issue logging. I can login to sandbox via web but i am not able to login via sample app.
11-14-2014 08:49 AM
Hello @amormemorials1
If you are using the sample application from https://github.com/AuthorizeNet/sdk-android/blob/master/sampleapp/src/net/authorize/sampleapplicatio... you would change Environment.SANDBOX to Environment.PRODUCTION.
/** Authenticates the user-name and password using the VIEW. */ public void authenticate(View view) { String loginID = ((EditText) findViewById(R.id.loginID)).getText().toString(); String password = ((EditText) findViewById(R.id.password)).getText().toString(); PasswordAuthentication loginCredentials = PasswordAuthentication.createMerchantAuthentication(loginID, password, deviceID); _merchant = Merchant.createMerchant(Environment.SANDBOX, loginCredentials); _merchant.setDuplicateTxnWindowSeconds(30); }
11-14-2014 11:16 AM
Great, i did. I still contnue to get "The password is incorrect" I am able to login on my account via web, i have also tries my sanbox account and i get the same error. Any Ideas please. Thank you
11-14-2014 11:56 AM
Could you please confirm the specific error response code you are receiving?
Remember that you cannot use your sandbox Login ID and Password with the Production environment, or Production credentials with the sandbox.
11-14-2014 12:02 PM
I am running the authorize.net sample without any changes, and when i enter login and password and tap LOG IN the progress circle spins and then i get a small black box at the right of password which states"The password is incorrect" i then make the change you advised above from SANBOX to PRODUCTION and i get the same error.
Now if i do the same test on the aithorize.net app from Play Store i am able to login with the same credentials (PRODUCTION) with no errors. This is confusing me out.
11-14-2014 03:05 PM
Also just so you know, i dont even get the message that says that i need to enable the device via the web.
11-14-2014 03:43 PM
Can this help? This is what i see on android studio after i tap login.
11-14 21:13:49.521 8659-8659/com.visa.visasampleapplication D/OpenGLRenderer﹕ Enabling debug mode 0
11-14 21:14:34.191 8659-8659/com.visa.visasampleapplication D/dalvikvm﹕ GC_FOR_ALLOC freed 1243K, 17% free 21343K/25596K, paused 14ms, total 14ms
11-14 21:14:34.271 8659-8816/com.visa.visasampleapplication W/System.err﹕ [DEBUG] GbaRequest - GbaRequest: Constructor Called 222 userAgent Apache-HttpClient/UNAVAILABLE (java 1.4)
11-14 21:14:34.271 8659-8816/com.visa.visasampleapplication W/System.err﹕ [DEBUG] NafRequest - NafRequest: NafRequest constructor===useragent Apache-HttpClient/UNAVAILABLE (java 1.4)
11-14 21:14:34.301 8659-8659/com.visa.visasampleapplication D/ProgressBar﹕ updateDrawableBounds: left = 0
11-14 21:14:34.301 8659-8659/com.visa.visasampleapplication D/ProgressBar﹕ updateDrawableBounds: top = 0
11-14 21:14:34.301 8659-8659/com.visa.visasampleapplication D/ProgressBar﹕ updateDrawableBounds: right = 228
11-14 21:14:34.301 8659-8659/com.visa.visasampleapplication D/ProgressBar﹕ updateDrawableBounds: bottom = 228
What does the UNAVAILABLE mean? Thank you
11-14-2014 05:16 PM
Hello,
Our developers are unable to duplicate the issue as you describe, but they have some suggestions:
On GitHub, we also submitted a pull request to include more robust error messages.
Richard
11-18-2014 02:26 PM