Reply
Member
Posts: 2
Registered: ‎01-18-2012

Multiple MIDs

Hello:

 

I'm trying to help a client setup their account using AIM API.

 

They have one merchant account and will have multiple MIDs associated with that account.

 

How do we pass the MID so that each transaction is associated with the correct MID?


Thanks!

Posts: 1,609
Topics: 15
Kudos: 201
Solutions: 121
Registered: ‎06-23-2011

Re: Multiple MIDs

So more than one Authorize.net account? That's fairly simple - you just set the login ID and key individually depending on the situation. For instance, from the AIM.markdown file in the doc folder of the PHP SDK:

 

$sale = new AuthorizeNetAIM('YOUR_API_LOGIN_ID', 'YOUR_TRANSACTION_KEY');

 Only in your case, you'd set it using variables rather than hard-coding it.

Member
Posts: 2
Registered: ‎01-18-2012

Re: Multiple MIDs

No, one authorize.net account.

 

One Merchant Account.

 

Multiple MIDs associated with that account.

 

Is there a specify which mid?

 

Or do we have to have multiple auth.net accounts to handle multiple MIDs?

Posts: 1,609
Topics: 15
Kudos: 201
Solutions: 121
Registered: ‎06-23-2011

Re: Multiple MIDs

Might help if you define what MID means, then.

Posts: 1,476
Topics: 33
Kudos: 34
Solutions: 126
Registered: ‎09-14-2009

Re: Multiple MIDs

Each Authorize.Net account can only be associated with one merchant ID. So if a merchant has multiple merchant IDs they will need multiple Auithorize.Net accounts.


-------------------------------------------------------------------------------------------------------------------------------------------
John Conde :: Certified Authorize.Net Developer (Brainyminds) :: Official Authorize.Net Blogger

NEW! Handling Authorize.Net's Webhooks with PHP

Integrate Every Authorize.Net JSON API with One PHP Class (Sample code included)

Tutorials for integrating Authorize.Net with PHP: AIM, ARB, CIM, Silent Post
All About Authorize.Net's Silent Post