Tips and Tricks HQ Support

Support site for Tips and Tricks HQ premium products

  • Home
  • Contact Us
  • Documentation
  • Forum Home
    • Forum
    • Forum Search
    • Forum Login
    • Forum Registration

eMember – API does not update membership start date

by

Tips and Tricks HQ Support Portal › Forums › WP eMember › WP eMember General Questions › eMember – API does not update membership start date

  • This topic has 6 replies, 3 voices, and was last updated 5 years, 11 months ago by jure.
Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • December 4, 2018 at 10:17 am #15221
    morsagmon
    Member

    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

    May 27, 2019 at 8:17 pm #78869
    jure
    Spectator

    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

    May 28, 2019 at 6:31 am #78870
    admin
    Keymaster

    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);

    }

    May 28, 2019 at 12:31 pm #78871
    jure
    Spectator

    hi. I have v10.0.4 and I don’t have this code in update.php

    May 29, 2019 at 5:08 am #78872
    admin
    Keymaster

    Thank you. I have just added that code a week or so ago. So this should be taken care of.

    May 29, 2019 at 5:08 am #78873
    admin
    Keymaster

    Thank you. I have just added that code a week or so ago. So this should be taken care of.

    May 29, 2019 at 11:09 am #78874
    jure
    Spectator

    Updated, tested, working ;-)

    Thx a lot

  • Author
    Posts
Viewing 7 posts - 1 through 7 (of 7 total)
  • You must be logged in to reply to this topic.
Log In

Forum Related

  • Forum Home
  • Forum Search
  • Forum Registration
  • Forum Login

Support Related Forms

  • Contact Us
  • Customer Support
  • Request a Plugin Update
  • Request Fresh Download Links

Useful Links

  • Plugin Upgrade Instructions
  • WP eStore Documentation
  • WP eMember Documentation
  • WP Affiliate Platform Documentation
  • Tips and Tricks HQ Home Page
  • Our Projects

Quick Setup Video Tutorials

  • WP eStore Video Tutorial
  • WP eMember Video Tutorial
  • WP Affiliate Platform Video Tutorial
  • Lightbox Ultimate Video Tutorial

Our Other Plugins

  • WP Express Checkout
  • Stripe Payments Plugin
  • Simple Shopping Cart Plugin
  • Simple Download Monitor

Copyright © 2025 | Tips and Tricks HQ