Hi - I seem to be too stupid to understand how to redirect the paypal IPN - please help me if you know. Should be interesting soon for others too as s2member is dying - and even folllow up plugins will likely due to copyright need to use a different handler.
This is not working.
location / {
rewrite ^/?s2member_paypal_notify=1 ^/?optimizemember_paypal_notify=1 redirect;
rewrite ^/?s2member_pro_stripe_notify=1 ^/?optimizemember_pro_stripe_notify=1 redirect;
try_files $uri $uri/ /index.php?$args;
}
I need to redirect the IPN from
domain.org/?s2member_paypal_notify=1
to
domain.org/?optimizemember_paypal_notify=1 redirect;
If you know how to do this with htaccess - also fine then I could try a converter (but better nginx format )