Custom Payment Forms and Donations

It is often a requirement of charity organisations to accept dontations on their website.

1) Build a Form

The form contains a <ss:forms:paymentmethod> control and calls a function donate() on submit.

2) Server Code

This is where the donate() function is declared.  You can add items to the cart here with a custom amount.

3) Use SSL

On the page that you are editing, click the "Attributes and Security" tab, and create a new security ruleset and tick the "Page Requires SSL" option.
Note: The shared SSL certificate will be used if a custom SSL certificate is not installed.

4) Examples