cancel
Showing results for 
Search instead for 
Did you mean: 

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

 

Bhavin
Member
1 REPLY 1

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

RichardH
Administrator Administrator
Administrator