I currently have an ecommerce site that integrates order processing with Worldpay Junior.
The page that posts customer and basket details to the hosted Worldpay payment processing pages passes in a number of hidden inputs that determine the amount to charge the customer, e.g.
<input type="hidden" name="instId" value="123456789" />
<input type="hidden" name="cartId" value="123" />
<input type="hidden" name="currency" value="GBP" />
<input type="hidden" name="amount" value="9.99" />
etc
I would like to implement pre-order products on the site, in order to allow customers to allow payment to be taken from their credit or debit cards (much like amazon.com and play.com do), once the product is made available to us and ready for shipping.
I first thought this could be implemented using regular recurring payments (or "FuturePay"), e.g.
<input type="hidden" name="futurePayType" value="regular">
<input type="hidden" name="noOfPayments" value=1>
<input type="hidden" name="normalAmount" value="29.99">
<input type="hidden" name="initialAmount" value="9.99">
<input type="hidden" name="startDate" value="2010-02-01">
would take a payment of 9.99 for any products available at the point of order and 29.99 when the product is available on 2010-02-01.
However, I realised it would not work if the following 3 products were ordered (i.e. multiple pre-orders):
Product A (available now - take payment now)
Product B (available on 01/02/2011 - take payment on 01/02/2011)
Product C (available on 03/04/2011 - take payment on 03/04/2011)
as they would not fit into the regular recurring payment scenario.
Has anyone who has used Worldpay know of a solution to this?
Alternatively, does anyone know of a payment provider that could allow "scheduled multiple deferred payment"?