The following examples demonstrate the effects of various combinations of parameters. See Regular Agreement Parameters for further details.
Parameter Combination |
Description |
|
Produces ten payments of £60, starting a month after the agreement is created and repeats at monthly intervals. |
|
Produces ten payments of £50, starting the day after the agreement is created at intervals of one week. |
|
Produces three payments, the first of £23.50 and the others of £25. The first payment is taken on 2007/05/01 and the others occur on the same day of the month at 2 monthly intervals. |
|
Produces a payment of £25 on 2007/05/01. |
|
Produces four payments of £25 starting on the 2007/03/31 at monthly intervals. On months where there are less than 31 days the payment will fall on the last day of the month. Setting the interval to 4 weeks is not the same as setting it to 1 month. You can adjust the payment amount with the iadmin servlet. See Automation & Remote Administration for details. The amount cannot be adjusted less than 8 days before the next payment date. |
|
Produces two payments, the first on 2007/04/15 and the second three weeks later. Payments will not occur if you fail to set the amount before these payment dates. You can adjust the payment amount with the iadmin servlet. See Automation & Remote Administration for details. Any change must be made at least 8 days before the next payment is due. |
|
Produces payments of £10 starting on 2007/04/15 and repeating every 13 days until the agreement is cancelled. |
The following example shows a regular agreement that produces ten payments of £60, starting a month after the agreement is created and repeats at monthly intervals.
<form action="https://secure-test.worldpay.com/wcc/purchase" method="post">
<input type="hidden" name="instId" value="1234">
<input type="hidden" name="testMode" value="100">
<input type="hidden" name="amount" value="60.00">
<input type="hidden" name="currency" value="GBP">
<input type="hidden" name="cartId" value="MerchantReference">
<input type="hidden" name="futurePayType" value="regular">
<input type="hidden" name="startDelayUnit" value="3">
<input type="hidden" name="startDelayMult" value="1">
<input type="hidden" name="intervalUnit" value="3">
<input type="hidden" name="intervalMult" value="1">
<input type="hidden" name="normalAmount" value="60.00">
<input type="hidden" name="noOfPayments" value="10">
<input type="hidden" name="option" value="0">
<input type="submit" value="Make Purchase">
</form>