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, 3 months ago by Donn.
-
AuthorPosts
-
September 14, 2020 at 7:59 am #15666DonnMember
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 #80939adminKeymasterHi, 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 #80940DonnMemberThat 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 #80941adminKeymasterokay, 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 #80942DonnMemberThat 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 #80943adminKeymasterWe have added an integration for this. Please upgrade the WP Express Checkout plugin then use the following documentation:
September 17, 2020 at 6:03 am #80944DonnMemberHi 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 #80945DonnMemberWAIT; 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 #80946DonnMemberOK, 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 #80947DonnMemberI worked out, the “Automatically create emember account” has to be enabled before it will work
September 19, 2020 at 11:24 pm #80948DonnMemberHello; 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 #80949wzpModeratoreMember 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 #80950adminKeymasterWe 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 #80951DonnMemberHello; 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 #80952DonnMemberSorry, I saw your previous post regarding the conditionals
I will read it and come back if required
-
AuthorPosts
- You must be logged in to reply to this topic.