Jump to content
cluster

IPN does not work anymore

Recommended Posts

WHMCS 7.4.3
PHP 7.0

since 2 days my paypal IPN does not work anymore ... I did not change anything

Billing Gateway Transaction Log is empty, nothing was stored during my test orders, just received payment notification from paypal

a few other entrys shows
Result > IPN Handshake Invalid


my Paypal IPN notify URL:
https://www.mydomain.tld/clients/


Paypal email notification:
Please check your server that handles PayPal Instant Payment Notifications (IPN). IPNs sent to the following URL(s) are failing:

https://www.mydomain.tld/clients/modules/gateways/callback/paypal.php


Paypal return URL is not activated yet, only IPN
should I activate the return url?

 

### edit ###

https://www.mydomain.tld/clients/modules/gateways/callback/paypal.php

shows:

HTTP ERROR 406

any idea?

 

Edited by cluster

Share this post


Link to post
Share on other sites

some more details from apache log, seems to be ok

[14/Sep/2018:10:44:27 +0200] "POST /clients/viewinvoice.php?id=5938&paymentsuccess=true HTTP/1.1" 200 2530 "https://www.paypal.com/webapps/hermes?flow=1-P&ulReturn=true&country.x=LU&hermesLoginRedirect=xoon&locale.x=en_LU&mfid=1536914570856_1655fa243c80b&rm=2&token=xxxx&useraction=commit&country.x=LU&locale.x=en_US" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/69.0.3497.92 Safari/537.36"

 

Share this post


Link to post
Share on other sites

and now the gateway log shows:

IPN Handshake Invalid

and yes, paypal & whmcs ist set to utf-8 encoding

Edited by cluster

Share this post


Link to post
Share on other sites

seems to be a bug or paypal changed something ...

I have also replaced viewinvoice.tpl with a new one, same result IPN Handshake invalid

Share this post


Link to post
Share on other sites

Take a look here: IPN Handshake Invalid. Probably it's a problem with charset. Enable Module Debugging (Utilities > Log > Module Log) and see what you have in your Request. Look for weird chars.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.

×

Important Information

By using this site, you agree to our Terms of Use & Guidelines