epretorious Posted March 27, 2013 Share Posted March 27, 2013 (edited) I'm just beginning to configure WHMCS on my site (called XXXXX.com here): I've configured the General Settings (Company Name, Email Address, Domain, etc). I've configured the Payment Gateway (PayPal with my PayPal email [i.e., account ID]). I've enabled IPN in my PayPal Selling Tools using the URL provided by WHMCS (http://www.XXXXX.com/whmcs) when I configured the PayPal payment gateway. When I use the PayPal Instant Payment Notification (IPN) simulator though, it complains... IPN Delivery Failed:[ http://www.XXXXX.com/whmcs] is not a valid HTTP URL The path (i.e., /whmcs) seems incomplete. e.g., [root@www XXXXX.com]# find . -name 'paypal*' ./httpdocs/whmcs/modules/addons/paypal_addon ./httpdocs/whmcs/modules/addons/paypal_addon/paypal_addon.php ./httpdocs/whmcs/modules/gateways/callback/paypalexpress.php ./httpdocs/whmcs/modules/gateways/callback/paypal.php ./httpdocs/whmcs/modules/gateways/callback/paypalpaymentspro.php ./httpdocs/whmcs/modules/gateways/paypalexpress.php ./httpdocs/whmcs/modules/gateways/paypal.php ./httpdocs/whmcs/modules/gateways/paypalpaymentsproref.php ./httpdocs/whmcs/modules/gateways/paypalpaymentspro.php But if I specify what seems like it would be the complete path (/whmcs/modules/gateways/paypal.php) PayPal still complains... (IPN Delivery Failed:[ http://www.XXXXX.com/whmcs/modules/gateways/paypal.php] is not a valid HTTP URL Ideas? Suggestions? Edited March 27, 2013 by epretorious 0 Quote Link to comment Share on other sites More sharing options...
Damo Posted March 27, 2013 Share Posted March 27, 2013 Do you have WHMCS installed in a whmcs directory or the root? The address to enter is the URL that your clients visit i.e. WHMCS themselves would enter https://www.whmcs.com/members/ and we use http://secure.XXXXXX.com/ as that is where our clients go to access the client area/installation of WHMCS. 0 Quote Link to comment Share on other sites More sharing options...
sparky Posted March 27, 2013 Share Posted March 27, 2013 try "]http://www.XXXXX.com/whmcs/modules/gateways/callback/paypal.php 0 Quote Link to comment Share on other sites More sharing options...
epretorious Posted March 27, 2013 Author Share Posted March 27, 2013 (edited) Do you have WHMCS installed in a whmcs directory or the root? WHMCS is installed in the /whmcs subdirectory. Instant Payment Notification (IPN) For PayPal invoices to be automatically marked paid when you receive a payment you need to enable IPN inside your PayPal account. This is done in the My Account > Profile > My Selling Preferences > Instant payment notifications. It's not important what URL you use so set it to your system url eg. http://www.yourdomain.com/whmcspath/ Then select the "Enabled" option. Using the URL shown here doesn't allow for testing but it does satisfy PayPal's requirements that "Notification URL" field not be blank. try"]http://www.XXXXX.com/whmcs/modules/gateways/callback/paypal.php When I use this URL, the Instant Payment Notification (IPN) simulator complains... IPN Delivery Failed. HTTP error code 406: Not Acceptable ...but this appears in my access_log: 173.0.81.33 - - [27/Mar/2013:06:04:29 +0000] "POST /whmcs/modules/gateways/callback/paypal.php HTTP/1.0" 406 399 "-" "PayPal Sandbox" See also "Paypal IPN setup". Edited March 27, 2013 by epretorious 0 Quote Link to comment Share on other sites More sharing options...
sparky Posted March 27, 2013 Share Posted March 27, 2013 Your 406 error would be coming from mod security 0 Quote Link to comment Share on other sites More sharing options...
epretorious Posted March 27, 2013 Author Share Posted March 27, 2013 Your 406 error would be coming from mod security I tested the URL using my browser and recieved an empty response (without any HTTP error code). Can you elaborate, Sparky? 0 Quote Link to comment Share on other sites More sharing options...
Webdomain.com Posted April 14, 2014 Share Posted April 14, 2014 With the last update, Paypal is now complaining about an error 406 as well. How did you get your issue resolved epretorious? 0 Quote Link to comment Share on other sites More sharing options...
WHMCS Support Manager WHMCS John Posted April 15, 2014 WHMCS Support Manager Share Posted April 15, 2014 Hi, What entry do you see under Billing > Gateway Log at the time of this error? The solution to common errors are published at http://docs.whmcs.com/PayPal#Error_Messages 0 Quote Link to comment Share on other sites More sharing options...
wsa Posted April 15, 2014 Share Posted April 15, 2014 that dont help look at this http://forum.whmcs.com/showthread.php?87011-Paypal-IPN-Delivery-Failed&highlight=IPN+Delivery+Failed 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.