chookhouse1 Posted April 26, 2010 Share Posted April 26, 2010 I am attempting to setup a new online store for a company using the Westpac - Payway Net module found here http://addons.oscommerce.com/info/6936 It seems to be setup correctly (the bank is recognising me as a merchant) but I am receiving the error below when I click confirm order: Notice: Error getting token: java.lang.SecurityException: Invalid IP address in /home/berwickp/public_html/estore/includes/functions/payway_utility.php on line 271 Warning: Cannot modify header information - headers already sent by (output started at /home/berwickp/public_html/estore/includes/functions/payway_utility.php:271) in /home/berwickp/public_html/estore/includes/functions/general.php on line 33 Basically I need to know if its the banks fault this is being thrown or have I set something up wrong. I am aware I have to set a list of IP's allowed to request a security token, I have done this, unless https uses a IP or proxy I don't know about? Thanks in advance to anybody that can help. Quote Link to comment Share on other sites More sharing options...
celarion Posted July 29, 2010 Share Posted July 29, 2010 I am attempting to setup a new online store for a company using the Westpac - Payway Net module found here http://addons.oscommerce.com/info/6936 It seems to be setup correctly (the bank is recognising me as a merchant) but I am receiving the error below when I click confirm order: Notice: Error getting token: java.lang.SecurityException: Invalid IP address in /home/berwickp/public_html/estore/includes/functions/payway_utility.php on line 271 Warning: Cannot modify header information - headers already sent by (output started at /home/berwickp/public_html/estore/includes/functions/payway_utility.php:271) in /home/berwickp/public_html/estore/includes/functions/general.php on line 33 Basically I need to know if its the banks fault this is being thrown or have I set something up wrong. I am aware I have to set a list of IP's allowed to request a security token, I have done this, unless https uses a IP or proxy I don't know about? Thanks in advance to anybody that can help. This error means that you haven't configured your servers' IP address properly in PayWay Net setup. You'll find the setting on the security page. Cannot modify header information means that your code has already streamed out the HTTP header, so php can't set it. This happens when you either render a header, render text (which in turn renders a header) or your webhost has a proxy which renders text (often adverts). If your webhost forces you to use a proxy for outbound requests, you'll have to enter the proxy's host into the security page. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.