SecurePayTech Logo
Secure Payment Technologies

Developers

Documentation
View our comprehensive documentation on interfacing with SecurePayTech

Sample Code
Download examples of how to use the SecurePayTech system from your site

Integration Partners
See a list of our integration partners

Sign-Up
Click here to begin the sign up process

Bottom of box

Sample Code

Home » Developers » Sample code » Asp.net

SOAP Webservice client (VB.NET)

This example uses Visual Basic.NET to invoke the SecurePayTech.com SOAP payment processing webservice. The index.html page is a simple HTML form which submits to process.aspx. This VB script then calls the service and displays the receipt data. The webservice object itself was generated using the "Add Web Reference" wizard in Microsoft(R) Visual Studio.NET. This can be used to generate the appropriate code for using the refund method if it is needed.

SOAP Webservice client (C#.NET)

This example is essentially the same as the Visual Basic one, except that it uses C# code as the 'codebehind' language.

Download Examples

All the files for the above examples are available below, in MSI Installer format. These installers will install the example in question as an IIS web application. You will need the .NET 1.1 runtime installed.