jacksoggetto Posted June 6, 2012 Share Posted June 6, 2012 Here is my problem: I have migrated my whmcs installation to a new domain, and I had recurring subscription on that installation with paypal. I cannot change the IPN for the paypal interface, and I don't want to add every old subscription manually inside whmcs everytime i receive a payment. Do some of you know a script I can put in the place of the paypal callback file, to redirect the IPN to the new domain? thanks 0 Quote Link to comment Share on other sites More sharing options...
laszlof Posted June 7, 2012 Share Posted June 7, 2012 You should be able to accomplish this with just a .htaccess redirect to the new domain. Something like: RewriteEngine On Redirect 301 /whmcs/modules/gateways/callback/paypal.php https://www.yournewdomain.com/whmcs/modules/gateways/callback/paypal.php 0 Quote Link to comment Share on other sites More sharing options...
jacksoggetto Posted June 7, 2012 Author Share Posted June 7, 2012 Have you tried it? I tried to redirect via htaccess time ago, when I was visiting it I get redirectet well, but I wasn't working for the paypal IPN. Maybe this one is different since I'm telling the exact link? 0 Quote Link to comment Share on other sites More sharing options...
laszlof Posted June 7, 2012 Share Posted June 7, 2012 I havent tried this exact method. I havent needed to do this in quite some time. 0 Quote Link to comment Share on other sites More sharing options...
jacksoggetto Posted August 4, 2012 Author Share Posted August 4, 2012 Just so you know, I tried this method, and is working. Thanks a lot, very helpful. 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.