Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Payway Net error help?


chookhouse1

Recommended Posts

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.

Link to comment
Share on other sites

  • 3 months later...

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.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...