The following methods are available in the 24 Hour Reporting web service.
- Transaction24HourReportByInvoiceReference - Used to search for transactions that occured with a specific invoice reference within the last 24 hours.
- Transaction24HourReportByInvoiceID - Used to search for transactions that occured with a specific invoice transaction ID within the last 24 hours.
To able to call the above web service methods, eWAYCustomerID, username and password needs to be specified in the soap header for each request.
We have provided sample code for ASP.NET (C#)
- C# Code
This ZIP file contains the following files:
- SampleReporting.aspx/aspx.cs - Shows how to call the two webmethods
- Readme.txt - Explains what needs to be done to run the sample code
- web.config - Need to modify the ewaycustomerid, username and password to your details
For more information on using the web service, please read the specifications
»
Download the C# source code (Microsoft Visual Studio 2008)
You can build and test the 24 Hour Reporting solution before joining eWAY®.
To test your solution with eWAY®, all you need to do is pass the
required test-account information. This test facility will validate all inputs but will not save
any data and only return dummy data.
IMPORTANT!
Please make sure you use the following values when testing:
- The test gateway URL is https://www.eway.com.au/gateway/services/Test/TransactionReportService.asmx
- The test eWayCustomerID is 87654321 - this is the only ID that will work on the test gateway.
- The test username is test@eway.com.au - this is the only username that will work on the test gateway.
- The test password is test123 - this is the only password that will work on the test gateway.
|