Tips and Tricks HQ Support Portal › Forums › WP eMember › WP eMember Troubleshooting › eMember – after WooCommerce Paypal payment, registration link not accepted
- This topic has 4 replies, 2 voices, and was last updated 4 years, 7 months ago by CDR_editor.
October 25, 2018 at 2:17 am #15169
I am testing selling three levels of protected content (news articles, with partial or full access to news categories) with WooCommerce and Paypal sandbox accounts, using scenario 1 (account created by eMember). The payment is processed correctly, however when I click on the registration e-mail link, the site redirects to the plain registration link with the message “Free membership is disabled on this site”. It seems the transaction is not recognized by the plugin as completed?
I can provide credentials by private message if you wish to look at my beta site.
Thank youOctober 26, 2018 at 1:12 am #78726adminKeymaster
Please enable the debug option in the emember plugin so we can see if the transaction is being fully processed by woocommerce or if it is in a pending state.
Sandbox setups tend to cause problems if the sandbox account is not setup correctly.
Do a test transaction after you enable the debug option. Then share a link to your registration page so I can inspect it.October 26, 2018 at 2:24 am #78727
Thank you for your response.
Debugging is already enabled, here are the latest two test transactions (upgrade, eMember user deleted after failed registration test, then new purchase) from eMember_debug.txt:
[10/26/2018 12:37 AM] – SUCCESS :eMember_handle_subsc_signup_stand_alone(). Membership Level: 2
[10/26/2018 12:37 AM] – SUCCESS :Could not find any record using the given email address (firstname.lastname@example.org). Attempting to query database using the unique reference: 1468
[10/26/2018 12:37 AM] – SUCCESS :Membership level ID: 2, Email: xx
[10/26/2018 12:37 AM] – SUCCESS :Member signup URL: website.tld/en/subscribe/registration/?member_id=14&code=ed9f52fa238d9228d9b00a408a98d8c7
[10/26/2018 12:37 AM] – SUCCESS :Member signup/upgrade completion email successfully sent to: xx
The registration link lands on the website, but is redirected to: website.tld/en/subscribe/registration/ with the following message:
Free membership is disabled on this site!
Please visit the Payment Page to pay for a membership.Click Here
On the Paypal side, both the seller and buyer sandbox accounts show both transactions were successful.
WooCommerce also shows the two successfully completed orders.
I can give you access to my beta site, but not as a public link.
Thank youOctober 27, 2018 at 12:11 am #78728adminKeymaster
Thank you. Everything looks good except the auto-redirection that is taking place when the special registration link is clicked.
Do you have any other plugin that is doing a redirection? It will be good to get access to your beta site. So I will send you an email for it.October 27, 2018 at 2:13 am #78729
E-mail received, sent reply thanks
- You must be logged in to reply to this topic.