Join the User Forum: Form-as-a-Service User Group
About:
Forms as a Service is an easy way to take advantage of the flexibilities offered by the API. The FaaS web service allows web designers to design a donation form and use the POST method to process the transactions through the webpage without any need for launching an external site. To prevent spam and fraudulent attacks on webforms that use Click & Pledge’s API all forms must include reCAPTCHA to validate patrons.
Post to FaaS
To process transactions through the FaaS services post the form result to:
- https://FaaS.Cloud.ClickandPledge.com
- https://Verify.Faas.Cloud.ClickandPledge.com
Three links need to be provided as part of any call to the FaaS service.
- Authorization link
- Decline link
- Error link
The above links instruct the FaaS service what page to respond to when a card authorizes, declines, or when an error is generated. Details of how to setup a page as well as examples are provided in the following sections.
Samples & Downloads
Building forms is quite easy using web development tools such as Adobe Dreamweaver, Microsoft FrontPage, or any other web authoring applications.
The following is the complete form with all fields:
- US States pull down menu: US_States_Form.zip
- Country pull down menu: Country_Codes_Form.zip
The above form will reply back to simple pages with Authorize, Decline, and Error messages. The Replies are provided in the URL.
- All Examples in one download: FaaS_Examples.zip