- This topic has 6 replies, 2 voices, and was last updated 8 years ago by .
Viewing 7 posts - 1 through 7 (of 7 total)
Viewing 7 posts - 1 through 7 (of 7 total)
- You must be logged in to reply to this topic.
Support site for Tips and Tricks HQ premium products
by
Tips and Tricks HQ Support Portal › Forums › WP eMember › WP eMember Troubleshooting › eMember – API Update Call Wipes Email address
Good day, I believe I’m either doing something wrong or I’ve found a possible bug. I am trying to do an api call to update current customers who need an added level of membership.
Members have their email field set when they are created. When I do an update call, if I include the email field, the system responses with an ‘Error! Email address already exists.’ and fails the membership upgrade.
If I do the upgrade without the email field, it empties the email field.
Right now I’m resorting to doing two update calls to emember. One to assign the new membership without email set and a second with email set to reset the email address.
Is it possible to fix this that when I do an update, if I don’t stipulate any fields, that they do not get removed? (Right now the first name, last name and email get cleared if they are not stipulated on update.)
Thanks
Frank
You should be able to call the update API without having to provide an email address (if you don’t need to update that field). I think you are using the WP user integration option which is causing an issue. I will make some improvements to that and send you an updated copy of the plugin.
Yes, I have to use the wp user integration for my licensing plugin. Please and thanks.
Frank
Hey Admin, any progress on this issue?
Frank
I already emailed you the updated copy of the plugin where you don’t need to provide an email address in the update API query. I will send another copy again today. Your email probably has an issue where it rejects the email if it contains any attachment.
Hey Admin, that’s exactly the issue. Can you send the update to [fthomas137@gmail.com]
Frank
Done.