S2 Button code suddenly not working with PayPal

The signup vars are way too complicated to replicate. So if something goes wrong on registration with stripe you can never get the subscription recognized anymore. It needs to look at email and subscription ID and over.
I guess the reason for the signup vars was that it was supposed to be possible with future changes to have several subscriptions per customer but that’s better implemented differently.

Yeah for someone with PHP knowledge I guess it really can’t be more than 1-2 days of work and the main part will be digging and finding the places where it’s used - needs changing of quite a few files in small bits. The problem is that the code isn’t very clean and copied together a bit.

Oh yeah there was one programmer doing plugin’s for s2member and adaptions, but I once paid him for doing a vat solution and he didn’t even get anywhere to have a useful solution.
The person that back then did it for me could figure a better solution within 5 minutes and then took a couple of days of work to code it. The main part for him was understanding how s2member and PayPal ipn work.

I have noticed this issue today. I have seen that paypal configuration has “suddenly” activated the “sand box” mode by himself. I have restored it to “NO” and it works again.

Sometimes to solve a problem you have to come at it from the opposite direction.

Rather than hoping someone here can solve this, what about going to a Paypal forum and see if someone who knows Paypal wants to look at the current code and fix it. They don’t have to know much about S2Member, just how to make the link to Paypal work properly.

Anyway, my 2 cents worth. Many decades ago I would have looked into the code. Now I am a coffee farmer and can only tell you how coffee keeps programmers awake. :slight_smile:

1 Like

PayPal hasn’t been any help in the past, none of their support channels. So you can forget about it.

If Christian isn’t fixing it, forking s2 is the best solution. Create a new modern implementation of PayPal and Modern pro forms or compatibility with Shopping carts, PayPal created forms and so on is the best and only solution.

Also it’s not about fixing code but a complete new implementation of PayPal. Nothing to rewrite there, needs to be done from scratch. That’s why dropping s2 pro forms would be easiest. Actually just using s2 ipn to create users after using a third party checkout would be the easiest.
However for stripe needs to remove that stupid signup vars mess else it’s not possible to create users with subscription payments into s2 (except if the new solution also handles deactivations)

I am just using PayPal “dumb” buttons (PayPal’s generated code, NOT s2Member buttons) for now and processing things manually. It’s just a small extra task in comparison with everything I have to do because the plugin was never good to manage payments (and their lack) in the first place, anyways.

Hi, I am about to do a major update on my site and wondered if there was anything new on this subject? Thanks, Roger