DeveloperTutorials for Web Developers & DesignerseCommerce Design

Custom Payment Forms and Donations

It is often a requirement of non-profits and membership organisations to accept donations 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

In your page's Source > PHP tab, this is where the donate() function is declared. 
You can add items to the cart here with a custom amount.