Tips and Tricks HQ Support Portal › Forums › WP eMember › WP eMember – Upgrading from free to paid premium membership issue
Tagged: membership upgrade
- This topic has 6 replies, 2 voices, and was last updated 12 years, 1 month ago by mxmark.
-
AuthorPosts
-
September 21, 2012 at 9:45 am #7446mxmarkMember
Okay this may be something and nothing.
I have a membership site with a free membership level and a paid premium membership level.
I have set it up in such a way where by if someone joins the premium membership they automatically have access to the free membership level as well…This works flawlessly.
However, after testing, I discovered an issue which is something I need to sort out.
EXAMPLE:
Instead of a visitor initially joining my premium membership, he or she decides to join my free membership. Inside the free members section they see a ‘Join Premium Membership’ button, (provided by an eStore subscription button) they then decide to join my premium membership and click on the button (obviously whilst still logged in as a free member) they then make the payment and are redirected back to my site where by rights they should be able to access both premium and free membership levels…Correct?
Whilst testing this procedure, the above seems to be working fine right up until I’m redirected back to my site. In theory because I’ve made the payment I should be able to access both the premium content and the free content, but I still can’t access the premium content even after making the subscription payment.
The side bar login widget still shows me as a free member. I’ve even tried logging out and logging back in again to see if it upgrades my membership to premium but it still only shows me as a free member and I still cannot access the premium content.
Is there a simple setting I’m overlooking here or could it be a bug?
I have the ‘Enable the ability to assign multiple membership levels per user’ checked and the ‘When a member’s primary level expires, automatically set one of the non-expired secondary level as his primary level’ checked also.
I am using WP eMember 8.1.7 – WP eStore 6.9.0.2 – WordPress 3.3.1
Can’t wait to resolve.
Thank you.
September 21, 2012 at 11:35 pm #49537adminKeymasterI think the eStore plugin is not receiving the payment notification after a user pays for the premium level subscription. Which is why the level is not getting upgraded to the premium one.
Enable debug in eStore and then do another test. This documentation will explain how to enable debug:
https://support.tipsandtricks-hq.com/forums/topic/how-and-when-to-enable-debug-and-what-does-it-do
Then share the content of the following two files so I can see what is going on:
– ipn_handle_debug.log
– subscription_handle_debug.log
September 22, 2012 at 10:12 am #49538mxmarkMemberOkay the ipn_handle_debug.log file was empty however, this is the information from the subscription_handle_debug.log file and I see there is some kind of FAILURE error there:
[09/03/2012 12:34 PM] – SUCCESS :eMember user payment debug data: Unique ID: S-0TM66450U39149000| Email: xxxxxxxxxx@gmail.com| Level: 3
[09/03/2012 12:34 PM] – SUCCESS :Upgrading member account
[admin deleted the rest of the debug data]
I’ve replaced sensitive info with x for obviuos reasons
Thank you.
September 22, 2012 at 11:48 pm #49539adminKeymasterOkay that confirms that the plugin is not receiving the payment notification. This means you changed your PayPal account settings and deactivated IPN or you made other changes in the server which is blocking those payment notifications from reaching eStore. The debug you shared is old left over debug from when it was working before (look at the date value which confirms this).
Go through the following checklist which will help you find out where you made a mistake:
https://support.tipsandtricks-hq.com/forums/topic/what-to-do-if-the-debug-file-is-empty
September 24, 2012 at 3:17 pm #49540mxmarkMemberHi Admin,
Many thanks for your guidance on this matter. I was able to find the issue and sort it out.
After following the link you provided above it appears it could have been a couple of issues. The first being a ‘Under Construction’ type of plugin being active. This has been disabled now.
The second one for some strange reason was the IPN in PayPal was turned off! Thing is I don’t remember ever doing this and prior to this issue arising a non member could register straight away for my premium membership instead of upgrading from the free level and all ran smoothly. Is this the normal plugin behaviour?
Anyway, I reset the dubug log files and conducted a simulated upgrade from free to premium again. This time it worked, however, I had to log out and log back in and the plugin upgraded me to the premium level. Just out of curiosity – Is this normal having to log out then log back in so the plugin can upgrade the member?
And one last thing, I had a quick look at the log files after carrying out the above and I still see an error in there. Can you explain what the error is and if it will cause any more issues?
IPN handle debug log:
All the logs in this file have a ‘SUCCESS’ value so I presume all is okay with that.
Subscription handle debug log:
[admin deleted debug after troubleshooting]
September 25, 2012 at 12:00 am #49541adminKeymasterEverything looks good to me. You can ignore that failure notice.
September 26, 2012 at 8:31 am #49542mxmarkMemberOkay, that’s a relief.
Thanks for your guidance on this admin
-
AuthorPosts
- You must be logged in to reply to this topic.