I am currently integrating a NAB Transact gateway into an e-commerce store. Once the payment has been processed, the NAB Transact system sends a POST request to our endpoint to process the result.
The problem is that the POST request does not contain a secure hash / token, which we can use to send back to the NAB Transact system to authenticate the request, not spoof it. Worse, the NAB Transact system does not even have an API for any authentication of any information, essentially very poor security!
Is there any way to securely authenticate these requests? For example, checking that requests come from a list of known IP addresses that are affected by the NAB transactional system? Or reverse IP lookup? What are the options and how to implement this in PHP?
Does IP authentication not rely on being secure because it can be tampered with?
source share