BUG: Neither membership_startdate nor membership_enddate is imported
tictag opened this issue · 2 comments
tictag commented
Neither membership_startdate
nor membership_enddate
are imported using the Import Users from CSV Integration Add On.
STEPS TO RE-CREATE
- Download PMPro Import Users From CSV Template from https://www.paidmembershipspro.com/add-ons/pmpro-import-users-csv/
Note: Refer to #23 - Remove all unnecessary fields leaving only
user_email
oruser_login
to identify the user account andmembership_startdate
and/ormembership_enddate
Note: Ensure correct format: YYYY-MM-DD - Import the CSV using the Import Users from CSV Plugin
The import will return as successful but neither field in table pmpro_memberships_users
is actually modified.
A workaround is to manually update these fields using the is_iu_post_user_import
hook:
https://gist.github.com/tictag/a94b5ff707efbc02b34700edbb77051a
tictag commented
andrewlimaza commented
I have run some tests, a couple of years later, and it's working. I am going to close this ticket as it seems to have been resolved.