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

HTTP POST request – check format

by

Tips and Tricks HQ Support Portal › Forums › WP eMember › HTTP POST request – check format

Tagged: HTTP Post

  • This topic has 4 replies, 2 voices, and was last updated 12 years, 9 months ago by admin.
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • July 30, 2012 at 10:27 pm #7027
    billyelusiv
    Member

    Hi,

    Please can you take a look at this HTTP POST and let me know what I am missing? As it not working yet for me to be able to create an emember account.

    http://www.foreverfit.tv/wp-content/plugins/wp-emember/api/create.php?secret_key=6656&first_name={u_firstname}&last_name={u_lastname}&email={u_email}&username={u_username}&password={u_password}&membership_level_id=3

    where the format {u_firstname} etc are from nanacast, where they say the following:

    “You can also include any of the variables below as a “tags” in your URL and the system will replace the tag with the actual value. This way you can post the values to an existing script that expects a variable name to be different than the ones listed below. For example, your notification URL could be: http://example.com/your_script.php?email_address={u_email}&firstname={u_firstname} . The system would then post all the variables below to: http://example.com/your_script.php?email_address=joe@example.com&firstname=Joe”

    Once I have the HTTP POST correct, will this post also tell emember when an account has been cancelled and emember stops the membership?

    nanacast says this

    “mode add|modify|payment|product|reactivate|decline|suspend|delete

    add: Sent when a new client is added. Any time any type of new order is placed, a notification with the mode “add” gets sent, whether it is free, one-time or subscription.

    modify: Sent when a client’s record is modified.

    payment: Sent when a recurring payment is made for the client by the system. The amount charged is the “u_recurring_price” variable.

    product: Sent when an automatic or broadcasted physical product is triggered for the client.

    reactivate: Sent when a client has made a successful payment after being suspended, which means their account is now in good standing and should be reactivated. Also, the mode will be “reactivate” whenever a client has previously been set to a “negative” status (“unsubscribed”, “declined”, or “pending”) and then changed to a “positive” status (“not yet loaded”,”subscribed”,”paused”) from within the admin area when editing clients

    decline: Sent when an automatic subscription payment attempt has failed, but the client hasn’t been cancelled yet. Subscription payments are attempted on the expiration date, then 2 days later, then 4 days later, and then for the last time 6 days after the expiration date. The first 3 attempts will send a “decline” status, but on the 4th try (6 days after the expiration date), a “suspend” notification is sent (see “suspend” below).

    suspend: Sent when the subscription payment attempts have failed too many times and the client is cancelled as a result. Also sent when a client manually cancels their subscription (if they have a subscription). Account should be suspended but not deleted in case they reactivate later. Also, the mode will always be “suspend” whenever the client’s status is saved as “unsubscribed”, “declined”, or “pending” within the admin area when editing clients (regardless of what their status was previously).

    delete: Sent when a client is deleted from within the admin area when editing clients.

    Thanks!

    August 1, 2012 at 8:09 pm #47925
    billyelusiv
    Member

    Hi, just a friendly reminder, please can you help me with this? :-)

    Thanks!

    August 2, 2012 at 5:44 am #47926
    admin
    Keymaster

    Please enable debug in eMember settings so we have more info on what is going on when you invoke the API. Share the content of the debug file.

    When you use this API, it will only create the member’s account according to all the details you pass in via the parameters. The account will be deactivated according to what is specified in the membership level of that member. Currently there is no API to cancel an account but if you need an API to cancel/deactivate a member’s account then that can be added to the plugin.

    August 7, 2012 at 10:03 am #47927
    billyelusiv
    Member

    Hi, I managed to get the create API working.

    I need an API to suspend/deactivate a members account, similar to the create API.

    Am I able to employ your services to create this API for me?

    Thanks

    August 7, 2012 at 11:32 pm #47928
    admin
    Keymaster

    Please fill out the form on the following page:

    https://support.tipsandtricks-hq.com/need-custom-work-done

  • Author
    Posts
Viewing 5 posts - 1 through 5 (of 5 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