- This topic has 6 replies, 3 voices, and was last updated 5 years, 5 months 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 General Questions › eMember – API does not update membership start date
I’m using the eMember API to UPDATE a member: add a stacked level.
The new level is activated, however, the “Start Date” remains empty, and the API documentation does not offer any argument that I can pass to set this date.
Please advise.
Mor
I manage to solve it this way.
add this to /wp-eMember/api/update.php in //Optional data part
if (isset($_REQUEST))
$fields = strip_tags($_REQUEST);
Support, can you add this to new version. thx
Thank you. Can you please check if the following block of code exists in the update.php file in your version of eMember?
//Update the account subscription start date if applicable
if (!empty($subs_start_date)){
emember_update_subsc_start_date($member_id, $subs_start_date);
}
hi. I have v10.0.4 and I don’t have this code in update.php
Thank you. I have just added that code a week or so ago. So this should be taken care of.
Thank you. I have just added that code a week or so ago. So this should be taken care of.
Updated, tested, working
Thx a lot