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 » Coldfusion

Coldfusion MX: SOAP Webservice client

This example uses the <cfinvoke> tag to call the SecurePayTech.com SOAP payment processing webservices. The Example .cfm page contains the payment details form, and shows how to call the method provided by the class in the CFC component. The CFC component provides methods for both the purchase and refund services.

This exmaple code kindly provided by Cabbage Tree Creative Ltd.

ColdFusion 5.0: HTTPS POST method

Since ColdFusion 5.0 does not have any facilities to natively handle SOAP webservices, we have provided an example showing how to use the <cfhttp> tag to use the HTTPS POST method of performing purchases through SecurePayTech.com.

Download Examples

All the files for the above examples are available below. Just chose the file download appropriate for your version of ColdFusion: