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

[Resolved] Express Checkout modification to change USER level

by

Tips and Tricks HQ Support Portal › Forums › WP eStore Forum › WP eStore Tweaks › Express Checkout modification to change USER level

  • This topic has 14 replies, 3 voices, and was last updated 4 years, 7 months ago by Donn.
Viewing 15 posts - 1 through 15 (of 15 total)
  • Author
    Posts
  • September 14, 2020 at 7:59 am #15666
    Donn
    Member

    Hi, I purchased BOTH eMember and wp Express Checkout – great products.

     

    However, Express Checkout has COUPONS while eMember doesn’t

     

    Can I get some help to modify Express Checkout to CHANGE THE USER MEMBERSHIP LEVEL on completion of sale (to a designated level).

     

    I need the COUPON feature and ALSO the membership level change feature. Can you help me on this, please? If you could provide a function that I can insert, that would be sufficient.

     

    September 15, 2020 at 1:36 am #80939
    admin
    Keymaster

    Hi, We have a few e-commerce related plugins and integrations. Before I give you an answer, I want to confirm that you are referring to our following free WP Express checkout plugin correct?

    https://wordpress.org/plugins/wp-express-checkout/

    You want to use that plugin to handle the membership payment right?

    September 15, 2020 at 2:53 am #80940
    Donn
    Member

    That is correct – I was advised to purchase the eMember, which I did, but it has no coupon feature.

    If you can supply a code snippet to

    – determine the user (I force them to login)

    – then change the user level at completion of your process

    – I can manually write the level into code

    – It could be an ‘include’ to allow regular updates

    Naturally, I’d say, such a enhancement would be of general benefit because the popup window is such a sophisticated way of handling paypal.

    September 15, 2020 at 8:25 am #80941
    admin
    Keymaster

    okay, we will work on adding an emember integration for our WP Express Checkout plugin. Should be able to provide you an update within a couple of days.

    September 15, 2020 at 11:52 pm #80942
    Donn
    Member

    That is a great idea – Express Checkout has the best paypal process I have seen anywhere.

    I have eMember, I can test

    September 16, 2020 at 9:25 am #80943
    admin
    Keymaster

    We have added an integration for this. Please upgrade the WP Express Checkout plugin then use the following documentation:

    https://www.tipsandtricks-hq.com/wordpress-membership/membership-payments-using-the-wp-express-checkout-plugin-1987

    September 17, 2020 at 6:03 am #80944
    Donn
    Member

    Hi everything works except the membership change :(

    a) I tried using a level of “Student” – I got an email

    “Hi, Your account profile has been updated according to your latest payment.

    Please log into your member profile to view the details.

    Thank You

    b) but the membership level hasn’t changed

    c)I am using s2Member – I use this for the conditionals and site management. I have a number of s2 levels

    I tried setting to one of the s2member levels – no success in changing the user level

    I have doubled checked all the settings in eMember and Checkout – everything looks appropriate.

    Do you have any hints?

    September 17, 2020 at 6:15 am #80945
    Donn
    Member

    WAIT; I see it now … the role is changed in eMember but NOT in wordpress user pages.

    which creates a discrepancy between the USERs when exporting etc.

    Is it possible, to integrate with wordpress USER – because I use conditionals which are not available in eMember

    September 17, 2020 at 7:30 am #80946
    Donn
    Member

    OK, I have tested extensively – it seems that eMember IS updating WP_USERS tables

    Thank you!

    Is it now possible to also update the WORDPRESS “Automatic EOT Time:”

    So I can get consistency between the two databases

    September 17, 2020 at 8:19 am #80947
    Donn
    Member

    I worked out, the “Automatically create emember account” has to be enabled before it will work

    September 19, 2020 at 11:24 pm #80948
    Donn
    Member

    Hello; As mentioned I have discovered that the “role’ is syncronised between the eMember and WP user database, when the eMember option of “create eMember user automatically” is “yes”.

    Thank you very much for this; it integrates nicely.

    But can I ask to you go one stop further and integrate the EOT in both eMember and the WP user table. At the moment, the EOT set in eMember is not matched to the WP user table, which creates a discrepancy – I use ‘conditionals’ in S2Member to control access to PARTS of the page – eMember does not have such conditionals, and can only block an entire page, which creates significant issues.

    Are you able to do that?

    September 20, 2020 at 12:57 am #80949
    wzp
    Moderator

    eMember does have “Partial Content Protection” controls; please see this:

    https://www.tipsandtricks-hq.com/wordpress-membership/how-to-protect-a-section-of-a-post-or-page-88

    September 20, 2020 at 2:19 am #80950
    admin
    Keymaster

    We don’t do anything with that other plugin you are using. It becomes very difficult to maintain hooks to external plugins (as they will make changes without us knowing about it and so on). We prefer to do this kind of integration with our own plugins for better maintainability over long term.

    September 21, 2020 at 11:51 am #80951
    Donn
    Member

    Hello; As mentioned I have discovered that the “role’ is syncronised between the eMember and WP user database, when the eMember option of “create eMember user automatically” is “yes”.

    Thank you very much for this; it integrates nicely.

    But can I ask to you go one stop further and integrate the EOT in both eMember and the WP user table. At the moment, the EOT set in eMember is not matched to the WP user table, which creates a discrepancy – I use ‘conditionals’ in S2Member to control access to PARTS of the page – eMember does not have such conditionals, and can only block an entire page, which creates significant issues.

    Are you able to do that?

    September 21, 2020 at 11:54 am #80952
    Donn
    Member

    Sorry, I saw your previous post regarding the conditionals

    I will read it and come back if required

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