Customer has to speak with Westpac and request “PAYWAY NET” enabled. Once this is done they will receive a Username and password
Connecting Payment Gateway
Select Setup Net for the left hand menu and then Hosted Payment Page
Select the Bill Payment/Shopping Cart:
This will take you to customization screen where the Schools logo can be added. This will also show the School’s Biller Code which will need to be used in the payway.xml for Spider.
The screen is where the notifications are generated should be set up as shown below:
The highlighted areas must be completed as shown
This screen will give you the encryption key, username, password which we need to be added into the spider payway.xml also.
Please note in order to add security, the Westpac Bank will allow request only from the spider. (so we have to put the spider public IP). This can be done by using whatismyip.com and getting the IP of spider (some schools will have dynamic ip and it gets changed every time (so we have to ask the school to get a static ip or a range of static ip and add it here).
This screen allows customisation of what the reference details will be in the payway screen.
In this example, the School wanted to use the family code as the customer reference and the highlighted areas have been worded to indicate this:
The next screen allows you to add dollar limits:
The next screen allows you to add a surcharge if required. Please take note of the merchant number as this will also be required to add to the payway.xml
The payway side is now complete.
Open the payway.xml which can be found in the inetpub > wwwroot > spider > App_xml
Then select the payway.xml
In spider, change the payment gateway to PAYWAY
Open payway.xml and ADD THE api username, password, encryption. You should also put their billercode and merchantid (the school should know it). Merchantid of TEST is for testing.