Why am I not receiving the ITN callback?

Why am I not receiving the ITN callback?

Below are some of the reasons why you are either not receiving your ITN callback or it appears as if you're not receiving the ITN callback:

You're ITN page is unreachable

The URL specified by your notify_url variable could be unreachable.

To test this, open a browser and navigate to the URL yourself. Ensure that the page is in fact reachable and returns a valid HTML response (200 OK etc.).

If your browser times out or gets a 500 error response, then the page is unreachable and indicates that there could be a problem with your web server configuration. Contact your system administrator to resolve this.

You're ITN page performs a 302 redirect

If your notify page tries to redirect to another page immediately, it might not look like you are receiving the ITN callback as, for security reasons, ITN does not follow redirects.

Ensure that all the processing which needs to occur, occurs at the notify_url location itself without requiring a redirect to another location.

Typical instances where this occurs without your knowledge is where your notify_url is actually protected by a login mechanism and when the PayFast server tries to POST to it, the system redirects to a login page asking for a username and password.
Test this by clearing all session cookies (or using a different browser to normal) and navigating to the page yourself. If it redirects you to another page, that's your problem.

You are making use of an incorrect port

PayFast makes use of ports 80, 8080, 8081 and 443 only

    • Related Articles

    • What kind of technical support does PayFast offer for custom integration?

      The PayFast Technical Support team can assist with integration issues related to our Developer documentation.  We won’t be able to resolve the following issues (but may be able to offer advice in certain situations): The building of the checkout ...
    • How do I resolve a WooCommerce / Joomla ITN issue?

      When attempting a transaction, and the ITNs seem not to be going through to your application, go to https://developers.payfast.co.za/docs#ports-ips and unblock / whitelist the IPs and ports listed.  Should the issue persist, please check your cPGuard ...
    • Do I need to set the ITN url on my account?

      When using the one of our payment modules, the ITN url is set automatically and you do not need to set it on your account manually.
    • What causes the ITN security check errors?

      Invalid signature This would be caused by the incorrect use of the passphrase, or the incorrect order of variables in the string that is MD5 hashed to generate the signature. Although this signature is generated in the same way as the signature on ...
    • How does the Xero integration work?

      Our integration with Xero is all automatic. It will update Xero when a successful payment is received by PayFast via a Xero invoice (or if a payout from PayFast is made). However, it will not automatically sync or update payments made from other ...