Jump to content

PayPal Payment not Posting to WHMCS


MikeDVB

Recommended Posts

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?

Link to comment
Share on other sites

  • WHMCS CEO

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

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

  • 2 weeks later...

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.

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

  • 1 month 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