MikeDVB Posted May 27, 2008 Share Posted May 27, 2008 Hello, I have been using WHMCS since version 3.50 and I was told in this version to set up the IPN, in the newer versions it is advised that you not do so in case you want to sell something else, but I've not removed it (and I honestly cannot remember where to remove it from in PayPal) At any rate, I had a customer come to their invoice on WHMCS and make the invoice payment that was due and I have gotten *NOTHING* in my gateway log, or transaction list and I had to mark the invoice paid manually. Was there a change to the IPN callback URL with 3.6.1 (current verison we are running) that would cause this callback to not be received if the old callback url was set in PayPal? Or is there something else I should look into? Thanks! Edit: I found out where to change the IPN and it was listed as: http://www.mydomain.com/whmcs/modules/gateways/callback/paypal.php Should I go ahead and clear this? 0 Quote Link to comment Share on other sites More sharing options...
chickendippers Posted May 27, 2008 Share Posted May 27, 2008 Profile > Instant Payment Notification Preferences. We've got the IPN URL set to /modules/gateways/callback/paypal.php and everything seems to be running fine. 0 Quote Link to comment Share on other sites More sharing options...
WHMCS CEO Matt Posted May 27, 2008 WHMCS CEO Share Posted May 27, 2008 As long as IPN is enabled, it doesn't matter what you put for the URL - it's ignored anyway as WHMCS passes the URL it wants PayPal to use at the time of the payment request. There haven't been any changes to IPN callbacks in recent versions - url or otherwise. Common problems are subscriptions not setup through WHMCS - they might not have any callback or callback to the URL as it was set when they were first created (ie. another app). Another common issue is moving a WHMCS install so the callback URL then changes, but the callback URL for existing subscriptions cannot be updated or changed. On rare occasions you sometimes find mod_security is blocking callbacks or your servers firewall is blocking access from the PayPal IPs. And then failing all of that, you've got random issues like this one recently that happen from time to time: http://www.theregister.co.uk/2008/05/17/paypal_ipn_meltdown/ Matt 0 Quote Link to comment Share on other sites More sharing options...
MikeDVB Posted May 27, 2008 Author Share Posted May 27, 2008 Ah, well the installation has not moved, it's not a subscription but the user opted to log in and make the payment once every three months. His last payment with 3.5.1 was processed correctly but his latest one was not. I had a person subscribe the other day and for the subscription creation in the gateway log it said incomplete but it showed the subscription payment as complete. Not sure if that has anything to do with it. I guess I'll have to wait and see if this occurs again. 0 Quote Link to comment Share on other sites More sharing options...
dordal Posted June 5, 2008 Share Posted June 5, 2008 Common problems are subscriptions not setup through WHMCS - they might not have any callback or callback to the URL as it was set when they were first created (ie. another app). Another common issue is moving a WHMCS install so the callback URL then changes, but the callback URL for existing subscriptions cannot be updated or changed. Matt If you know what the old URL was supposed to be, you can usually setup a 301 redirect in your Apache .htaccess file to redirect the paypal IPN requests from the old URL to the new URL. We're doing this, having come from ClientExec. Google '301 redirect .htaccess' for more info. Also, you most definitely do want to set the IPN callback in your paypal preferences. If you have subscriptions that don't have an IPN hard-coded, PayPal will use that. 0 Quote Link to comment Share on other sites More sharing options...
JasonO Posted June 5, 2008 Share Posted June 5, 2008 You could check your logs and filter it for paypal.com or paypal's ip and see what script its trying to call (if the IPN script no longer exists, then it will probably be in the 404 log). Then as the above post suggests, a htaccess redirect could then be done. 0 Quote Link to comment Share on other sites More sharing options...
apollo1 Posted June 12, 2008 Share Posted June 12, 2008 Had someone pay an invoice today, and no PayPal call back. I've had nothing in my gateway log since March. What the hell is going on? I wonder if having changed the location of the admin folder is causing this. 0 Quote Link to comment Share on other sites More sharing options...
apollo1 Posted July 13, 2008 Share Posted July 13, 2008 UPDATE: Please see my post at http://forum.whmcs.com/showthread.php?t=12727 for a possible cause and solution to the PayPal IPN callback problem. 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.