Jump to:

2011 Posts in 1436 Topics by 620 members

Form Questions

SilverStripe Forums » Form Questions » Submit simple form to worldpay

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

Page: 1
Go to End
Author Topic: 1446 Views
  • vorlich
    Avatar
    Community Member
    2 Posts

    Submit simple form to worldpay Link to this post

    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="https://select.worldpay.com/wcc/purchase" 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>

    </form>

  • vorlich
    Avatar
    Community Member
    2 Posts

    Re: Submit simple form to worldpay Link to this post

    Bump. Anyone?

    1446 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.