Jump to content

IPN Delivery Failed


epretorious

Recommended Posts

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 by epretorious
Link to comment
Share on other sites

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.

 

 

 

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 by epretorious
Link to comment
Share on other sites

  • 1 year later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated