Hi all,
After pulling my hair out over the last couple of days, I thought it could be helpfull to other users why I had a hard time changing the Login Welcome Page.
Because I switched from Stripe (just for testing) to iDeal (typical Dutch) as the payment gateway I could no longer use the Stripe Pro Forms.
So I had to find a way to get all the custom information from my clients before actually purchasing something. For this I used a modified (added custom fields by hand, like ‘middleman’, ‘company name’, ‘address’ etc.) Stripe Registration Form. So far so good.
Registration works, but I wanted the Login Welcome Page (LWP) to act a little different than it is supposed to do, because after successful registration my client needs to go to the checkout and make a payment before proceeding.
I created a custom checkout page (ideal-checkout) and set that as the default LWP. And then things got weird.
Long story short:
Using a Pro Form Registration Form, the newly created user is automatically logged-in and redirected to the LWP.
But it seems as if after registration, the return url (the LWP) is hardcoded somewhere (with the addition of a very large parameter), because they never get redirected to the page I’ve set as the LWP (ideal-checkout). After two days of testing and testing, I came up with the idea to change the slug of the original LWP to ‘welkom’ and the slug of my new LWP, which was ‘ideal-checkout’, to ‘login-welcome-page’.
And that worked!
Conclusion:
Changing the LWP to a custom page within s2Member only works if you also change the slug of that custom page because the slug needs to be ‘login-welcome-page’.
I find this very strange.