Tips and Tricks HQ Support Portal › Forums › WP eStore Forum › WP eStore General Questions › Automatic eMember login after Manual purchase?
- This topic has 10 replies, 3 voices, and was last updated 9 years, 10 months ago by admin.
-
AuthorPosts
-
January 2, 2015 at 4:59 am #12000chad.renandoMember
Hi, I am trying to create a registration process for a camp, using eStore and eMember with the Forms addon. Here is what I am trying to do:
1. A person does a manual $0.00 purchase of a product. When they purchase, a new member is automatically created as a “pre-registered” membership level.
[http://69.195.124.60/~vitalpr2/store/]
2. The person is redirected to a camp registration form. Completing the form creates a “Registered” membership level. [http://69.195.124.60/~vitalpr2/residential-camp-registration/]
The problem is that I then have two members with the same details at two different levels.
Can you please advise the most effective way to ensure the person completing the step 2 registration form is logged in?
Thanks.
Chad
As an aside, I asked something similar about 8 months ago but I did not follow up on it. https://support.tipsandtricks-hq.com/forums/topic/create-membership-when-purchasing-a-product#post-59358
January 2, 2015 at 8:01 pm #67717wzpModeratorYou, or someone who knows PHP programming, would have to do some custom coding; using the eMember API:
- https://www.tipsandtricks-hq.com/wordpress-membership/api-creating-a-member-account-using-http-get-or-post-447
- https://www.tipsandtricks-hq.com/wordpress-membership/api-updating-a-member-account-using-http-get-or-post-933
If you are unable to perform the coding yourself, we do have a custom coding service. Use this form to request a quote:
https://support.tipsandtricks-hq.com/need-custom-work-done
Of course, there will be nothing to prevent people from continuously completing step 1 and then aborting step 2. That is a “people problem.”
January 2, 2015 at 11:06 pm #67718adminKeymasterIf you are going to create the member account in step 2 then don’t create it in step 1. After step 1, you can just tell them to go to the page and complete step 2.
Just turn off the membership creation stuff in step 1.
January 3, 2015 at 8:50 pm #67719chad.renandoMemberThanks for the prompt replies! I think I have found a work around.
1. User completes a pre-registration membership form, fills in basic information, assigned a pre-registration membership.
2. User purchases a $0.00 item to secure their space
3. User completes a registration membership form, fills in additional information, assigned a registered membership.
My new question:
a) is there any way to pre-populate the form in step 3 with the user’s details?
b) Rather than creating a membership, can the form be used to upgrade the membership?
Thanks heaps!
Chad
January 3, 2015 at 10:11 pm #67720adminKeymasterIf you are using your own custom form, then you can use the following to update an existing user’s account:
You could also do it the other way around.
1) User completes the full membership form that creates the account
2) User does a $0.00 transaction (which upgrades the account to another level if you need).
All done, no need to do another step.
January 4, 2015 at 12:33 am #67721chad.renandoMemberThanks. I think I am getting close.
I am using the paid forms add-on for emember.
I am looking at changing the order such that:
Step 1) User completes a registration membership form, fills in basic information, is assigned a registered membership.
Step 2) User edits their registration details to add in more information.
Step 3) The user purchases the $0.00 product.
Question:
I know I can display a register form for a specific level using [wp_eMember_registration_form_for level=3]. Is there a way to display an edit form in the same way? e.g., are there attributes for [wp_eMember_edit_profile] ?
The reason for this is that if I have a user with multiple membership levels and they go to edit their profile, how can I get it to show a specified form? At the moment, it is only showing the membership edit profile form for the primary membership level.
Thanks!
January 5, 2015 at 5:29 am #67722adminKeymasterThe profile edit is always for the primary level. We don’t support different profile editing for different level. It just doesn’t work (from tech point of view) since each member should have ONLY ONE profile.
January 5, 2015 at 7:51 am #67723chad.renandoMemberOK, thanks.
The platform allows multiple memberships, and the forms plugin I purchased allows different forms for different memberships. The different forms are available for registration but not for editing. I can see the technical challenge if the user is registered with one form and then upgrades.
In that case, is there another way you would recommend capturing information against the member?
Alternatively, per this recommendation https://support.tipsandtricks-hq.com/forums/topic/collecting-customer-input-with-wp-estore-plugin , what would you recommend for capturing information against the customer?
Chad
January 6, 2015 at 12:37 am #67724adminKeymasterThe following should work:
1. User completes a membership form for a basic level, fills in basic information, assigned a membership (doesn’t really have any access just yet).
2. User logs into the site as a member (this is the key change).you can use the auto login after registration feature (if you want).
3. User purchases a $0.00 item to secure their space. When they purchase this item, eStore can update the user’s membership level to another level (the real one that has access).
4. By this time the user has the main membership level as his/her primary level. So the user can go to the edit profile page and fill in additional information (according to the custom form you created for that level).
January 6, 2015 at 8:02 am #67725chad.renandoMemberThanks, I appreciate the response.
I think I will need to figure out something different. Reason being is that the user may have a different primary level prior to purchase.
The levels include:
Pre-registered
Registered
Premium (Gold, Silver, Bronze)
Since the edit profile form is always based on the Primary membership, I cannot ensure the user will be at level required for the form. e.g., they may be Primary of Premium but also Registered.
As I am unable to specify the form to be used when editing the member profile for eMember, What do you recommend please for a form plugin to capture additional information against the eStore customer?
January 6, 2015 at 10:59 pm #67726adminKeymasterThe following addon is what people use for collecting extra data for manual checkout:
https://www.tipsandtricks-hq.com/ecommerce/wp-estore-manual-checkout-form-builder-addon-3119
Since you are using manual checkout, the above addon maybe useful for you.
-
AuthorPosts
- You must be logged in to reply to this topic.