[osCommerce] Resolve error setting up Westpac Payway Net osCommerce module invalid IP address

While setting up Westpac – Payway Net osCommerce module on a new online store, I encountered following error while testing it: Notice: Error getting token: java.lang.SecurityException: Invalid IP address in /home/user/public_html/includes/functions/payway_utility.php on line 271   Warning: Cannot modify header information – headers already sent by (output started at /home/user/public_html/includes/functions/payway_utility.php:271) in /home/user/public_html/includes/functions/general.php on line 33 First…