Simple Membership Plugin › Forums › Simple Membership Plugin › User registration after payment
- This topic has 5 replies, 2 voices, and was last updated 1 week, 5 days ago by
that.guy.
-
AuthorPosts
-
July 31, 2026 at 7:18 pm #32225
that.guy
ParticipantHello,
I have three paypal buttons on my site, one for a one time payment that dumps to a thank you page. A second for a renewing payment that goes to a “Free membership is disabled” page and the registration link in the email also goes to the “Free membership is disabled” page too, so it is not possible for the user to complete their paid registration. The third paypal button doesn’t even work. Paypal says there is something wrong on their end and paypal is not available at this time. It is built the same as the second button only with a higher amount.Any ideas would be helpful. I went to bed way too late last night.
August 1, 2026 at 1:46 am #32226that.guy
ParticipantHere is a log section from the last attempt to do a cycle from the 2nd paypal button. Everything is success it seems.
[2026/07/31 14:57:01] – SUCCESS: OnApprove ajax request received for createSubscription. On Page Button ID: swpm_paypal_button_1
[2026/07/31 14:57:02] – SUCCESS: Subscription tenure type: REGULAR, Sequence: 1, Cycles Completed: 1
[2026/07/31 14:57:02] – SUCCESS: Validation passed. Going to create/update member account and save transaction data.
[2026/07/31 14:57:02] – SUCCESS: Transaction type: pp_subscription_new, Transaction ID: 0S044835XXXXXXXXS
[2026/07/31 14:57:02] – SUCCESS: Membership payment paid for membership level ID: 3
[2026/07/31 14:57:02] – SUCCESS: swpm_handle_subsc_signup_stand_alone(). Custom value: subsc_ref=3&user_ip=10.0.0.1&reference=0S044835XXXXXXXXS, Unique reference: 0S044835XXXXXXXXS
[2026/07/31 14:57:02] – SUCCESS: Could not find any record using the given email address (admin@roxyannpeak.com). Attempting to query database using the unique reference: 0S044835XXXXXXXXS
[2026/07/31 14:57:02] – SUCCESS: Did not find a match for an existing member profile for the given reference. This must be a new payment from a new member.
[2026/07/31 14:57:02] – SUCCESS: Creating new member account. Membership level ID: 3, Subscriber ID value: I-D07RKXX9X45Y
[2026/07/31 14:57:02] – SUCCESS: Member signup URL: https://roxyannpeak.com/membership-registration?member_id=18&code=8d6a9796048e9c2cXXXXXXXX9
[2026/07/31 14:57:03] – SUCCESS: Member signup (prompt to complete registration) email successfully sent to: admin@XXXXXXXX.com
[2026/07/31 14:57:03] – SUCCESS: Saving transaction data to the database table.
[2026/07/31 14:57:03] – SUCCESS: Transaction data saved.
[2026/07/31 14:57:03] – SUCCESS: The condition to redirect to the paid registration link has been met. Setting the return URL to the paid registration link.
[2026/07/31 14:57:10] – SUCCESS: Webhook event type: PAYMENT.SALE.COMPLETED. Event summary: Payment completed for $ 10.0 USD
[2026/07/31 14:57:10] – SUCCESS: Subscription ID from resource: I-D07RKXX9X45Y. Transaction ID: 6AU55942XXXXXXXX9
[2026/07/31 14:57:11] – SUCCESS: Subscription tenure type: REGULAR, Sequence: 1, Cycles Completed: 1, Last Payment Time: 2026-07-31T21:56:59Z
[2026/07/31 14:57:11] – SUCCESS: Custom field data from the original subscription checkout: subsc_ref=3&user_ip=10.9.8.1&reference=0S044835XXXXXXXXS
[2026/07/31 14:57:11] – SUCCESS: Updating the access start date if applicable for this subscription payment. Subscriber ID: I-D07RKXX9X45Y, Email: admin@XXXXXXXX.com, Account status: active
[2026/07/31 14:57:11] – SUCCESS: Found a record in the member table. The Member ID of the account to check is: 18 Membership Level: 3
[2026/07/31 14:57:11] – SUCCESS: Updated the member profile with current date as the subscription start date.
[2026/07/31 14:57:11] – SUCCESS: Value after update – Subscriber ID: I-D07RKXX9X45Y, Start Date: 2026-07-31
[2026/07/31 14:57:11] – SUCCESS: Executed save_txn_record() function.
[2026/07/31 14:57:14] – SUCCESS: Webhook event type: BILLING.SUBSCRIPTION.CANCELLED. Event summary: Subscription cancelled
[2026/07/31 14:57:14] – SUCCESS: Handling Webhook status update. Subscription ID: I-TG7BAWEATB6Y
[2026/07/31 14:57:14] – SUCCESS: Updating subscription agreement record. Post meta [subscr_status] updated to [canceled]. Subscription ID: I-TG7BAWEATB6Y
[2026/07/31 14:57:14] – SUCCESS: Could not find an existing member record for the given subscriber ID: I-TG7BAWEATB6Y. This user profile may have been deleted. Nothing to do
[2026/07/31 14:57:16] – SUCCESS: Webhook event type: BILLING.SUBSCRIPTION.ACTIVATED. Event summary: Subscription activated
[2026/07/31 14:57:16] – SUCCESS: Handling Webhook status update. Subscription ID: I-D07RKXX9X45YAugust 1, 2026 at 5:30 am #32228that.guy
ParticipantMore info to add. In the PayPal button I do have “Redirect to Paid Registration Link” checked, but it just sends every return trip from PayPal to the free registration page, which is disabled.
August 3, 2026 at 5:16 am #32231that.guy
ParticipantI have tried this with both Paypal and Stripe. Both return the user back to the website to either a thank you page or a free membership registration page. The email sent to the user is also not sending the user to a registration page appropriate for the subscription level they signed up for.
Does this need another add-on plugin?
Please help me figure out what I am doing wrong.
August 3, 2026 at 3:25 pm #32232admin
KeymasterThanks for the log, it’s helpful. Everything on the plugin side worked: member record 18 was created, the unique link was generated, and the return URL was set to the paid registration link.
The “Free membership is disabled” message only appears when the registration page loads without the member_id and code values in the URL. So the link is correct, but those parameters aren’t reaching the page. That’s a site-level issue, not a plugin setting, and no addon is required.
First, edit your registration page and confirm the content is just [swpm_registration_form] with no extra attributes such as a hardcoded level value, and that Settings > General Settings > “Registration Page URL” points to that page. This documentation covers how the required pages should be set up and how to recreate them if needed:
https://simple-membership-plugin.com/recreating-required-pages-simple-membership-plugin/Then test this: open the exact link from the log in a private browsing window and check the address bar after it loads. If the parameters have disappeared, something is stripping them. Common causes are page caching or a CDN, a server redirect that drops the query string (http→https, www, trailing slash), or a security plugin filtering query args. Exclude the registration page from caching and review your redirect rules.
https://simple-membership-plugin.com/membership-registration-process-overview/
https://simple-membership-plugin.com/understanding-the-impact-of-caching-on-membership-sites/You can regenerate the link from the plugin’s Tools menu to retest without paying again:
https://simple-membership-plugin.com/regenerate-and-resend-the-unique-registration-completion-link/Also note your log records the user IP as a private address (10.0.0.1). The auto-redirect feature matches the pending member record by IP address, so if your site is behind a proxy or CDN and the plugin isn’t seeing the real visitor IP, it will fall back to the Thank You page. That likely explains the behaviour on your other buttons.
For the third button, edit and re-save it so the PayPal plan is recreated, then retest. If it still errors, post the browser console output and the log entries from that attempt.
August 4, 2026 at 7:52 pm #32234that.guy
ParticipantThank you for your reply. Your section on caching was spot on. No, not running any plugins that would affect that, but when I used another bowser, everything seemed to work. The registration page had the correct subscription level inserted in the form and it worked.
As far as the private IP, I am self hosting and that is just reflecting my firewall LAN IP.
Thank you so much!
Jeremy
-
AuthorPosts
- You must be logged in to reply to this topic.