latest stable versions: v150827 (changelog)

Old Forums (READ-ONLY): The community now lives at WP Sharks™. If you have an s2Member® Pro question, please use our new Support System.

URL parameters with register page

Home Forums Community Forum URL parameters with register page

This topic contains 0 replies, has 1 voice. Last updated by  Colin Hahn 3 years, 2 months ago.

Topic Author Topic
Posted: Tuesday Oct 29th, 2013 at 3:09 pm #60737

I am trying to determine if s2member Pro will allow me to pass parameters through an user registration process.

I currently have an externally hosted order form on InfusionSoft. When the user completes that form, he or she is taken to a WP page that processes the order. That page uses some of the URL parameters in order to determine what custom capabilities to add for that user.

To make sure the user is logged in (so that there is an account to add custom capabilities to), I have protected the order processing page. Anyone who is not logged in is shown the pro login widget, and if they log in then they are sent to the previous page. Since the previous page includes the URL parameters, the order processing page works fine.

But, if the user does not yet have an account and follows the sign up link from the pro login widget, then the user is not sent to the processing page and the URL parameters are lost.

Is there a way to implement the “previous page” redirect functionality in the sign-up part of the site? In other words, what I want the final workflow to look like, for a user who does not yet have an account, is:

1) InfusionSoft goes to processing-page/?order_product=xyz
2) Because processing-page is protected, the member options page with the pro login widget is displayed
3) The user clicks on the sign up link in the widget
4) The user completes the sign up form through either wp-login?action=register or a custom registration form
5) After successfully registering, the user is signed in and sent back to the processing page with all the URL parameters (processing-page/?order_product=xyz)

  • This topic was modified 3 years, 2 months ago by  Colin Hahn.

This topic is closed to new replies. Topics with no replies for 2 weeks are closed automatically.

Old Forums (READ-ONLY): The community now lives at WP Sharks™. If you have an s2Member® Pro question, please use our new Support System.

Contacting s2Member: Please use our Support Center for bug reports, pre-sale questions & technical assistance.