Skip to content

Instantly share code, notes, and snippets.

@DominicFinn
Created January 8, 2013 10:05
Show Gist options
  • Save DominicFinn/4482623 to your computer and use it in GitHub Desktop.
Save DominicFinn/4482623 to your computer and use it in GitHub Desktop.
Future Pay Setup
<form action="https://secure-test.worldpay.com/wcc/purchase" method="post" class="buyForm">
<input type="hidden" name="amount" ID="amount" value="" runat="server"/><!-- amount due NOW-->
<input type="hidden" name="testMode" id="testMode" value="100" runat="server"/>
<input type="hidden" name="desc" id="desc" value="removed!" runat="server"/>
<input type="hidden" name="cartId" id="cartId" value="Monthly Membership" runat="server"/>
<input type="hidden" name="instId" id="instId" value="removed!" runat="server"/>
<input type="hidden" name="currency" id="currency" value="GBP" runat="server"/>
<input type="hidden" name="futurePayType" id="futurePayType" value="regular" runat="server"/>
<input type="hidden" name="option" id="option" value="0" runat="server"/>
<input type="hidden" name="startDelayMult" value="4" runat="server" id="startDelayMult"/>
<input type="hidden" name="startDelayUnit" value="2" runat="server" id="startDelayUnit"/>
<input type="hidden" name="intervalMult" value="4" runat="server" id="intervalMult"/> <!--1-->
<input type="hidden" name="intervalUnit" value="2" id="intervalUnit" runat="server"/> <!--4-->
<!--<input type="hidden" name="initialAmount" id="initialAmount" value="" runat="server"/> -->
<input type="hidden" name="normalAmount" id="normalAmount" value="" runat="server"/> <!-- regular 4weekly payment or YEAR payment-->
<input type="hidden" name="MC_customerId" id="MC_customerId" value="" runat="server"/>
<input type="submit" class="confirmSubscription regbutt" value="Confirm"/>
</form>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment