Documentation You are here: start » gateways » westpac

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
gateways:westpac [2017/04/26 07:02]
127.0.0.1 external edit
gateways:westpac [2017/07/28 05:38] (current)
adam
Line 26: Line 26:
  
  
-====== ​westpac ​====== +====== ​Westpac PayWay ​====== 
-===== Setting Up westpac ​for FoxyCart ===== + 
-You will need to add FoxyCart'​s IP's to Westpac'​s API Security Access List as shown on the screenshot below:+===== Setting Up Westpac Payway ​for FoxyCart ===== 
 +You will need to add FoxyCart'​s IP's to Westpac'​s API Security Access List as shown on the screenshot below, from the "​Security"​ page of the PayWay administration,​ within the "Setup API" section of the navigation:
  
   * **IP:** 54.152.220.165   * **IP:** 54.152.220.165
Line 36: Line 37:
  
 {{:​gateways:​westpac.png?​direct&​|}} {{:​gateways:​westpac.png?​direct&​|}}
 +
 +You will also need to download the certificate for your PayWay account, found from the "​Certificate"​ page, also within the "Setup API" section of the navigation. Select "​PHP"​ from the "API Technology"​ dropdown and hit "​Go",​ and then click the "​Download PHP Certificate"​ link within the text that appears below.
 +
 +{{ :​gateways:​westpac_payway_certificate.png?​nolink&​600 |}}
 +
 +Once you have your certificate downloaded, you're ready to connect your PayWay account to your FoxyCart store:
 +
 +  - Login to your store'​s FoxyCart administration,​ and go to the "​Payments"​ section
 +  - From the "Let customers pay with a Credit or Debit Card" option, select "​Westpac Payway"​
 +  - From the "​Security"​ section of your PayWay administration (found within the Setup API section of the navigation),​ copy the "​Customer Username"​ and "​Customer Password"​ into the fields of the same name within the FoxyCart administration
 +  - For the "​merchant id" field, enter the value your Westpac PayWay representative provided to you when taking your account live
 +  - Click on the "​certificate"​ field, and then click on the upload button that appears. Select the certificate file you just downloaded
 +  - Save the payment settings
 +
 +At this point - your PayWay account should be connected to your FoxyCart store! We'd recommend placing a test transaction to ensure everything is working correctly, and void/refund the charge within your PayWay account.
 +
 ===== Testing ===== ===== Testing =====
 ==== Obtaining a Test Account ==== ==== Obtaining a Test Account ====
-Contact westpac ​for info<wrap help>​Know more? Feel free to edit this page with info.</​wrap>​+ 
 +You can sign up for a test account from [[https://​www.payway.com.au/​core/​DeveloperTestFacilityView|this page]]When creating the account, ensure that you select the option "My system meets PCI-DSS compliance for storing credit card numbers"​ for the "​PCI-DSS"​ question. 
 + 
 +Once logged in, you can then follow the steps above to connect your test account to your FoxyCart store. You'll want to ensure your store'​s payment settings are set to "Test Servers",​ and for the merchant ID value in your FoxyCart gateway settings, you will simply use ''​TEST''​. 
 ==== Test Card Numbers ==== ==== Test Card Numbers ====
 <wrap tip>When using the test merchant, only the card numbers in the table below are valid. All other card numbers will return a response of “42 No Universal Account”.</​wrap>​ <wrap tip>When using the test merchant, only the card numbers in the table below are valid. All other card numbers will return a response of “42 No Universal Account”.</​wrap>​

Site Tools