0

Ok so I am in the process of moving PayPal recurring subscriptions from my vBulletin to aMember. PayPal does not allow you to change the IPN for existing recurring subscriptions, so those will still send the notification to vBulletin when I need it in aMember.

After lots of trial and error + browsing on here, I found a solution by another user that works:

# ensure only rewrite old paypal when query has exactly right parameter
RewriteCond %{QUERY_STRING} (?:^|&)method=paypal(?:$|&)
# should only happen on first request and allow the pretty url to be routed normally on the next pass through the rules
RewriteRule ^ aMember/payment/ipn [NS,DPI,QSD]

Now my question is this: Does this still allow the notification to hit the vBulletin software or is there anything I can do to allow that? Because if I could that would mean I would be able to have both running at the same time and allow me more flexibility in how I transfer people over...whereas in the current situation I would need to do them all at once.

Adam
  • 1
  • 1

1 Answers1

0

You can resend PayPal notification to vBulletin IPN listener from aMember.

You need to enable the option "Resend Postback" within PayPal plugin configuration:
aMember CP -> Configuration -> Setup/Configuration -> PayPal

and set URL of your vBulletin IPN handler.

Andrey Yerokhin
  • 273
  • 1
  • 7
  • 1
    That doesn't do anything for existing subscriptions. I was able to make it work though and need to post it on aMember forums. Basically though you just include this redirect script written on codeseekah.com that will redirect to a desired IPN. Then you just need to either include that file on the vBulletin payment_gateway.php or you just copy and paste the code inside of payment_gateway.php, doesn't matter. https://codeseekah.com/2012/02/11/how-to-setup-multiple-ipn-receivers-in-paypal/ – Adam Mar 15 '19 at 23:08