Reply
Member
Posts: 5
Registered: ‎09-29-2013

How I Login with different credential of Merchant account

Hi,

I have followed all steps and integrated the sample app. I just go through code and find out that if I change this code 

 

CreditCard creditCard = CreditCard.createCreditCard();
creditCard.setCreditCardNumber("4111111111111111");
Calendar expCal = Calendar.getInstance();
expCal.add(Calendar.YEAR, 4);
creditCard.setExpirationDate(expCal.getTime());

 

than I get informaton from client I mean who perchase anything. Now I want that, How I change the Mechant login dynamic. I mean  Where I chage code so that for any transaction I pass merchant login detail. Currently after I login with one merchant I can pay him only. I want to pass Merchant detail dynamic (dynamic login)

I think

 

authNetObj = AuthNet.getInstance(Environment.SANDBOX,
R.layout.authnet_credentials_dialog, R.id.authnet_loginid_edit,
R.id.authnet_password_edit, R.id.authnet_auth_cancel_button,
R.id.authnet_auth_login_button);

 

This line use for login. Any help will be appriciable

 

Thanks

Bhavin

 

Posts: 2,765
Topics: 57
Kudos: 269
Blog Posts: 67
Registered: ‎12-05-2011

Re: How I Login with different credential of Merchant account

Hello Bhavin,

 

Could you clarify what you are trying to do with your application.  From your description, it's unclear what business requirements your application needs to satisfy..

 

Richard