On Joomla 3.9, membership 2.16 (latest). Paypal IPN is not working, after a subscription is done (and paid), it never changes to active, it stays in pending.
The website is under HTTPS, I have turned on the HTTPS flag in Joomla (some extension do not play nice if HTTPS and this flag off). Tested with production PayPal (no sandbox).
As a comment, after paying and accepting the subscription. I do not see any IPN callback from Paypal in my HTTP(s) log. However, I do get the subscription emails from PayPal (payee and payer). My guess is the IPN URL is built wrongly, where may I see it?
You can access to this page
www.paypal.com/cgi-bin/webscr?cmd=_display-ipns-history
, find the IPN message related to your test transaction, check the HTTP code of that message to see what's it and then check it further (For example, if it's 403, then it's blocked)