Paypal New Subscriber Registration

I’m sure I’m missing something really simple/obvious here but I’ve been struggling with this for hours so hopefully someone can help!

I’ve set up a new paypal button for my s2member subscriptions on my website.

Payment goes through fine, but afterwards instead of being direct to a page where they can set up their log in details customers are sent here: http://gym.juliabuckleyfitness.com/?s2member_paypal_return=1

I can see in the dashboard that this is the auto-return url.

But I want customers to be redirected to the registration page after paying so they can set up their log in details. At the moment they have no way of creating them.

I tried adding the following to the payment button shortcode, which I saw recommended in another similar thread:
success=http://gym.juliabuckleyfitness.com/wp-login.php?action=register

But ‘User registration is currently not allowed.’ Was displayed above the log in form (presumably because it directs the user to open registration rather than creating a log in linked to their subscription (I have open registration closed).

I’m using S2Member Pro.

Thanks :slight_smile:

Since you have s2Member Pro, why don’t you use forms instead of buttons? Then you won’t have this problem.

I don’t have a Paypal Pro account, just a Business account. According to do the S2Member documentation the forms may not work properly without this, especially for recurring subscriptions.

Then, if you’re in a country that supports Stripe, I’d suggest moving to Stripe and using Pro forms then. It’s much easier all round, and you won’t have PayPal’s API messing with you.