Migrating and Importing Corporate and Sub Accounts

Before reading this page, be sure to have reviewed our Migrating Overview page first!

Corporate and subaccounts are a special importing/migrating case as they do not use the same transaction structure as regular memberships. Therefore, it is important that you follow these steps while importing or migrating corporate accounts. 

This document covers admin importing, not the importing of subaccounts by a corporate account holder.

Important note: Before you import your file, you will need to make sure that you have first created the memberships in MemberPress that these corporate accounts are going to be associated with AND that the users they will be assigned to are found in your WordPress Dashboard > Users section. Finally, importing does NOT and CANNOT create any payments, subscriptions, or initiate any actual charges. Importing is used to simply add existing data. This means that whatever payments you are importing MUST be real payments currently found in your gateway processor (PayPal, Authorize.Net, or Stripe).

Corporate Parent Accounts

You will import the corporate parent accounts like you would other membership subscriptions. Then, follow the steps in one of the following articles, based on what type of membership you are using, for the PARENT ACCOUNTS only. Do not add any subaccounts yet.

Once you have successfully imported the corporate PARENT accounts, you can now import the subaccounts.

Corporate Sub-Accounts

Before migrating or importing sub-accounts, you must have imported the corporate parent accounts as described above first!

Sub-Accounts CSV File Format

The only fields needed for the CSV are:

* Username ("username")  
* Email ("email")  
* First name ("first_name")  
* Last name ("last_name")

Here's a link to a sample corporate sub-account member import file: Corporate Account Sub Accounts (CSV)

You will need 1 CSV file for each corporate parent account that contains all of the subaccounts.

Importing the Sub-Accounts CSV Files

  1. Go to MemberPress > Import.
    (if you do not see the Import option, you will first need to install the add on as described in the Migrating Overview)
  2. Select "Corporate Sub Accounts" From the "Select the type of file to import" dropdown box. 

  3. Click the "Choose File" button and select the CSV file containing the sub-accounts you want to import.
  4. Enter the username of the PARENT account that the sub-accounts belong to.
  5. Select the applicable membership from the drop-down list.
    (It will populate after you enter the parent account username.)
  6. Select the "Send NEW members a password..." and "Send NEW members the welcome..." as applicable.
  7. Click the Upload button.

Importer Messages

After importing your file, the importer will show you a couple of different lines and boxes to let you know how your import went. These are outlined below.

X Rows Successfully Imported - Here, the importer will tell you how many rows (in place of X) were successfully imported.

X  Rows Failed to be Imported - Here, the importer will tell you how many rows (in place of X) failed to import.

X Total Rows Processed - Here, the importer will tell you how many total rows (in place of X) were processed.

Row Success Messages: - In this box, you will see any success messages related to your most recent import. 

Row Errors: - In this box, you will see any errors related to any rows from your most recent import. The message should be detailed enough for you to be able to know what you need to fix, so your file works properly upon import. 

CSV for failed rows ... copy these, fix and reimport: - Here, you will be given the exact rows that need to be fixed. Make a note of them to fix the rows with the errors. 

IMPORTANT NOTICE: Please ensure that the file you're importing is saved as UTF-8 and not as UTF-8 with BOM, or the import will fail, even if the file is otherwise valid.

I'm confused, help!

Shoot us an email from our support page if you need any further assistance with this integration.

Did this answer your question? Thanks for the feedback There was a problem submitting your feedback. Please try again later.