How to bulk import subscribers into Leaky Paywall
Method 1: Use our plugin
With the bulk import subscribers extension you can import a large list of users at once with a CSV file. When you install the extension, a new section will appear on the subscriber page that will let you upload a CSV file.
Note: The bulk import plugin will not trigger the welcome emails.
There is a link under the input to an example csv file. We recommend downloading the file and using it as a template for your CSV import file.
The only required fields are email and level_id, but there are many more fields you can import for a subscriber.
The unique email address of the user. If the email address belongs to a user that is already registered on your site, then their subscriber information will be updated instead of creating a new user. This can be helpful if you would like to bulk update the expiration date of a group of subscribers, for example.
The unique username of the user. If no username is specified, one will be generated from the user’s email address during import.
The level ID that the user will be subscribed to. You can find the level IDs by going to Leaky Paywall > Settings and scrolling down to the Subscription Levels section. Under the subscription name you will see the Subscription ID number. This is the level ID.
The subscriber ID is custom ID that you can assign to a user. It is not required but can be helpful if you need to track the user by the ID of another system’s database you are using, like a CRM. If you are importing from a payment gateway like Stripe, you would use the cus_xxxxxx ID.
The price you charged the user. This is useful if you charged the user offline for the subscription. Note: Even if you add this field, Leaky Paywall will not actually charge the user. If no value is set, the default will be 0.00.
The plan the user is subscribed to. For manually created subscribers, this is usually Recurring or Non-Recurring. If no value is set, the default will be Non-Recurring.
The date the subscription expires. Please use the following format for your date: June 5, 2020. You can also use: '0000-00-00 00:00:00' for subscriptions that never expire. If no value is set, the default will be Never.
The current status of the subscriber. This can be set to: active, deactivated, or canceled. If no value is set, the new subscriber status will be set to active.
My import isn’t working
It could be the line feed code of the CSV file. Make sure the CSV file is exported in UTF-8 format.
Method 2: Use an import plugin (How to Add Subscribers Using WP All Import)
You can try a plugin like WP All Import to add usermeta to WordPress users. http://www.wpallimport.com/add-ons/user-import/
1. Upload csv file and choose new items > users
2. Set login, email and password in User Data section
3. Set leaky paywall custom fields:
e.g. 2020-06-17 23:59:59
e.g. 0, 1, 2
e.g. cus_1234789423, 278392
e.g. Online Only, 3 Month Access
e.g. manual, stripe, paypal
e.g. active, deactivated
e.g. year, month, week, day
e.g. 1, 2, 3
e.g. 2019-06-17 17:22:39
3. Set any, additional custom fields
_company, _phone, _address, etc.
4. In record matching, select “create new users from records newly present in your file” and “update existing users with changed data in your file"
5. Select “choose which data to update” and check “meta fields"
1. Select “update only these meta fields, leave the rest alone"
2. Input the same custom fields added in the previous step
6. Select “block email notifications during import"