Tips and Tricks HQ Support Portal › Forums › WP eStore Forum › WP eStore F.A.Q/Instructions › Showing the Member Registration Completion URL on the Thank You Page
- This topic has 23 replies, 7 voices, and was last updated 7 years, 6 months ago by wzp.
-
AuthorPosts
-
July 18, 2012 at 7:31 am #6917adminKeymaster
This instruction applies to the following two scenarios:
Scenario 1) WP eStore and WP eMember integration:
Scenario 2) WP eStore and WishList Member Integration:
http://www.tipsandtricks-hq.com/ecommerce/wordpress-estore-and-wishlist-plugin-integration-448
By default the registration completion URL for a membership signup is handled via the email for a few reasons:
i) Not all payment gateways send data to the “Thank You” page so it is not possible to show transaction specific data there.
ii) Most admins prefer that the email address of a paid member be confirmed first. Sending the unique registration completion link in the email achieves that in the process.
With that said, we have recently added an option that will allow you to show the registration link on the “Thank You” page. If you want to use this option then do the following. This will work for all payment gateways that have the capability to display transaction specific data on the thank you page (for example: PayPal, authorize.net etc):
How to Enable This Option
Open the “eStore_advanced_configs.php” file and find the following line of code:
define('WP_ESTORE_SHOW_REGO_COMPLETION_LINK_ON_TY_PAGE', '0');
Once you find it, change it to the following to enable this option:
define('WP_ESTORE_SHOW_REGO_COMPLETION_LINK_ON_TY_PAGE', '1');
Now, when users pay for an eStore product that is hooked with a membership singup, the unique registration completion link will be presented on the “Thank You” page along with the other transaction details.
December 1, 2012 at 10:56 am #47476frammieMemberI looked for this line of code but it was not there so I added it but it has not shown the link on my thankyou page. Is there a short code or something that I should add?
It would be great if this was working as emails often get lost or diverted into spam folders etc.
Thanks & God bless,
Graham
December 1, 2012 at 1:13 pm #47477frammieMemberp.s. I have v 6.9.6 installed and this did not have any show_rego options in the folder??
December 3, 2012 at 12:44 am #47478adminKeymasterHi Graham, You need to change the line not add one. Adding a line won’t work. If you are using a recent version of the eStore plugin then you should see that line when you open the “eStore_advanced_configs.php” file.
I would recommend you do the following first to make sure you are not looking at an old version of eStore:
https://support.tipsandtricks-hq.com/forums/topic/re-install-or-load-a-fresh-build-of-the-plugins
After that check the “eStore_advanced_configs.php” file again. Do you see that line now?
December 3, 2012 at 9:59 am #47479frammieMemberThanks – not sure what happened last time but I uploaded it again and it now works – thanks.
January 17, 2014 at 10:52 pm #47480Troy MediaSpectatorTo make a purchase, the buyer must first register through eMember.
What I would like to do is add the eMember user name, and a link Forgot Your Password? to the Purchase Confirmation email that is send to my eStore customer.
If that is clear, is it possible?
October 27, 2014 at 5:28 pm #47481Ralph12MemberWhen this option is enabled, does the customer still receive the email (containing the link) as well?
Looking at the code, I’d say yes. But I prefer to have it confirmed. Thank you!
October 27, 2014 at 9:18 pm #47482wzpModeratorEmails will always be sent; because the Thank You page is optional.
October 28, 2014 at 8:03 am #47483Ralph12MemberThank you, wzp! I was wondering whether the unique register URL, can also be retrieved via a shortcode?
This is my plan / why I’m asking the above question: My theme’s builder dashboard can add buttons, to pages/posts, with a few clicks. One can easily give such buttons a URL via the theme’s dashboard. I’m looking for a way to add the unique reg URLs, to a theme button’s URL/link setting. So the 2 buttons, I placed on the TY page, automatically have user specific reg URLs as their href values. And I believe a shortcode should do the trick.
October 28, 2014 at 10:34 pm #47484adminKeymasterThe unique reg URL get created dynamically after the payment notification is received. So it may not even be available when the user goes to the Thank you page. This is why that link is delivered via email at the moment.
You can modify your registration scenario to use the 2nd or the 3rd option (see explanation below) if you don’t want to deal with that unique reg complete URL:
https://www.tipsandtricks-hq.com/wordpress-membership/a-typical-member-registration-flow-96
October 29, 2014 at 9:19 am #47485Ralph12MemberThanks for the explanation and suggestions, admin! I’ve decided to have the TY page explain to people, that they should check their email for additional steps that have to be completed. Simply because that seems to be the easiest and most fail-safe approach.
Though I would like to add a suggestion:
Modding the code below:
if($member_rego_data_needed && WP_ESTORE_SHOW_REGO_COMPLETION_LINK_ON_TY_PAGE==='1'){
… located in the eStore_includes3.php file, is an option. One could use this to either output TY text with unique URL (buttons), if $result is not 0 else display TY text without buttons / unique URL.
I didn’t go for this option, because one has to hard code the TY page content. Making it impossible to easily edit the page’s content via the WP admin dashboard.
But while I’m at it, I’d like to share the following idea with you (solving the need to hard code 2 TY page content versions, as mentioned above):
How about adding a section like “Affiliate Area/Center Related Options” to eStore’s Settings area? Then, if WP_ESTORE_SHOW_REGO_COMPLETION_LINK_ON_TY_PAGE is set to 1 (via the same dashboard section), people can add 2 different HTML-supported versions of TY page content; 1 for when the URL is created / with buttons/link, 1 for when the URL is not yet created / without buttons/link.
The unique reg URL could be a {unique_reg_url}-like tag, which can be placed anywhere in the TY page content. Making it also possible to use it as a button URL. People who’d rather prefer a simple clickable link, could use a {unique_reg_link}-like tag.
Then a content adding shortcode should be added to the actual TY page, just like most of the eMember-related pages.
The TY content version without the reg URL, is always required (ensuring the TY page is never completely blank, should people use the shortcode). And the version with the reg URL is optional (only required once WP_ESTORE_SHOW_REGO_COMPLETION_LINK_ON_TY_PAGE is set to 1).
Though perhaps you are already thinking of a better approach.
October 29, 2014 at 11:59 pm #47486adminKeymasterThank you for the suggestion. We do have a plan to improve this a little more which should make it better.
February 2, 2015 at 8:30 pm #47487jharriesMemberHi,
I just set this up, but every time I test I get the notice:
“The registration completion URL for this transaction is still in the queue to be processed. An email will be sent to you with the details shortly.”
Is there anything else I can do to make this work?
Thanks
John
February 2, 2015 at 8:35 pm #47488jharriesMemberSorry, I should add that here is the page in question:
[http://www.morganscloud.com/thank-you-for-joining-2/]
And here is what I’m seeing being returned:
Your order details:
Member One Year, Auto Renewal – This product does not have any downloadable content
The registration completion URL for this transaction is still in the queue to be processed. An email will be sent to you with the details shortly.
Total Cost: $19.99
Transaction ID: 60P9720516270753T
You will soon receive a payment receipt and a copy of this download information by email (purchase@morganscloud.com)
February 2, 2015 at 8:40 pm #47489wzpModeratorDo you ever get the email, with the registration link?
Have you performed the correct setup, according to these instructions:
Please take note of the caveat, regarding why the link may not appear on the Thank You page.
-
AuthorPosts
- You must be logged in to reply to this topic.