DeveloperTutorialseCommerce Design

Custom Payment Forms and Donations

Custom Payment Forms and Donations

It is often a requirement of charity 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

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

Share This Tutorial: