Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

We're retiring the forums!

The SilverStripe forums have passed their heyday. They'll stick around, but will be read only. We'd encourage you to get involved in the community via the following channels instead:

Form Questions /

Moderators: martimiz, Sean, Ed, biapar, Willr, Ingo, swaiba

Submit simple form to worldpay

Go to End

2 Posts   1990 Views


Community Member, 2 Posts

17 March 2009 at 1:30am

Hi All,

I'm currently migrating a site for a small charity to SS. At present we have the following HTML form to allow online donations to be handled by Worldpay, we don't require WP to post back to our site. I've read the easiest method to do this is to add the form HTML to my template, can anyone point me in the right direction on this, I haven't been able to find the relevant documentation?

<form action="" method="post">

<div class="donatelabel"><label for="amount">Donation Amount [<acronym title="Pounds Sterling/Great Britain Pounds">GBP</acronym>]:</label></div>
<div><input type="text" name="amount" id="amount" /></div>

<div><input class="check" type="checkbox" name="option" value="I am a UK taxpayer and I would like you to claim Gift Aid against my donation " onclick="valuate()" /> I am a UK taxpayer and I would like you to claim Gift Aid against my donation</div>

<div><input type="hidden" name="instId" value="xxxxx" /></div>

<div><input type="hidden" name="cartId" value=" " /></div>

<div><input type="hidden" name="currency" value="GBP" /></div>

<div><input type="hidden" name="testMode" value="0" /></div>

<div><input type="hidden" name="desc" value="Donation" /></div>

<div><input type="hidden" name="address" value="" /></div>

<div><input type="hidden" name="country" value="GB" /></div>

<div><input class="customdonate" type="submit" value="Donate!" /></div>



Community Member, 2 Posts

23 March 2009 at 10:34pm

Bump. Anyone?