two different user ID for same person
-
Hello,
Im trying to map the ID in the wp_users table with your member_id field your wp_swpm_payments_tbl.
When a user creates a regular wordpress account, wordpress generates an ID for them along with their name email etc, and stores that in the wp_users and wp_users_metadata tables.
But when they purchase something using your plug in, you create a totally different USER ID and put that in your wp_swpm_payments_tbl with the member_id field.
This makes the user now have two different user_ID, why is that needed? it causing problems with other software that is trying to match purchases with wp_user ID
Even if a user thats already logged into wordpress buys something using his existing wp_user email address, your plugin still puts a different id for that user in the members_id table, instead of looking for that email in the existing wp_users table and then using that wp_user id, it makes a new id that isnt connected to anything else inside the whole of wordpress.
The topic ‘two different user ID for same person’ is closed to new replies.