Remote Administration of FuturePay Agreements

Introduction

FuturePay Agreements provide a very flexible combination of periodic, ad-hoc or cumulative debiting structures. It is possible to control such Agreements via the WorldPay Customer Management System although, if there are a substantial number of Agreements, where calculations are required prior to making alterations, or changes are time-critical, it may be more appropriate to automate these processes.

It is important to recognise that once a FuturePay Agreement is set up by the Merchant and accepted by the Shopper on the WorldPay Payment Gateway, the structure of it is fixed. The degree of flexibility offered by WorldPay for each type of FuturePay Agreement should be fully understood before implementation.

If you have not yet requested FuturePay to be enabled for your Company ID please visit https://support.worldpay.com/products_services. Once this is acknowledged then you can request FuturePay be enabled for your installation ID(s).

If you intend to use third-party software for your web site integration with WorldPay using FuturePay, please verify with your software provider that it supports FuturePay before upgrading your WorldPay Company ID.

Different Types of FuturePay Agreement

Requirements

You will need an installation ID set up for this type of remote administration. Typically this is a Select Junior installation (but could be a Select Pro one), which will be used independently of your existing web site. It will need to be set up with a "remote authorisation password" which you can specify when asking for this facility to be set up by contacting integrations@worldpay.com. Note this is limited to 20 characters.

If you already have this facility set up as detailed in http://support.worldpay.com/kb/reference/faqs/remote_postauth_and_refunds.html, you can already use everything detailed in this document.

Please note that these facilities can be used regardless of the integration method used to submit the original FuturePay Agreement to WorldPay.

This code should never be available on your web site for shoppers to use. If you suspect that the remote authorisation password referred to below has been compromised then please contact your local Technical Support team at the earliest opportunity so that it can be changed.

FuturePay Remote Administration Code & Responses

Below is an example in HTML of code for each of the remote administration facilities. If you are intending to implement any of these functions on your web site it would be advised to implement this functionality within a server-side script, such that:

It is possible to implement these functions using the Select Junior and Select Pro methods of integration but not, at this time, using Select COM.

The HTML examples are shown here only as one method of submitting the data to WorldPay as a POST. You can use either POST or GET for submitting these details to WorldPay, generated using any server-side scripting language.

If you are using a Select Junior installation ID with an MD5 secret for transactions enabled to protect purchase tokens it is ignored here; you do not have to generate the parameters signature and signatureFields when submitting the information to WorldPay.

Do not add any M_, MC_ or CM_ variables in the requests as these will be discarded.

If you wish to use FuturePay and callback, please see http://support.worldpay.com/kb/reference/faqs/callback_faqs.html#callback_futurepay.

The new installation ID and remote authorisation password are referred to below as XXXXX and YYYYY respectively. These will need to be changed to the installation ID and password provided by your local Technical Support team.

You must use https:// URLs.

Other FuturePay Responses

Below is a list of the responses provided when using the FuturePay Remote Administration code not covered specifically above. The mechanism by which you submit the request to WorldPay must also be able to capture and correctly interpret these responses.

Response string Meaning
E,Problem checking password Either instId or authPW are incorrect.
E,Invalid agreement ID Invalid futurePayId specified, e.g. 1009ed
E,Missing agreement ID futurePayId not present
E,Problem building agreement WorldPay could not retrieve details of this futurePayId
E,No such agreement A non-existent futurePayId specified
E,Not company agreement futurePayId does not belong to your Company ID
E,Problem checking ownership WorldPay could not determine which Company ID owns this futurePayId
E,Agreement already complete, cancelled or suspended Agreement complete, cancelled or suspended
E,Invalid operation The op- variable is not known to WorldPay

FuturePay Time

WorldPay performs all of its time calculations using GMT (also known as UTC).

When using FuturePay it is important to consider the following:


END
Last update: 08 July 2005