Define a different amount for the first n installments

You wish to set up a recurring payment for which the amount of the first installment(s) would differ from the ones configured by the vads_sub_amount field.

Example: define a recurring payment with the first 3 installments equal to 25,00 EUR and the remaining installments equal to 30,00 EUR.

To do this:

  1. Use the fields required for your use case ) to create your payment form.
  2. Use the fields below:
    Table 1. List of fields to configure a different amount for the first installments
    Field name Description Value
    vads_sub_init_amount_number Number of installments to which will be applied the amount defined by vads_sub_init_amount 3
    vads_sub_init_amount Amount of the first installments. The number of the first installments is defined by vads_sub_init_amount_number. 2500
    vads_sub_amount Amount of each installment except the ones that will be eventually defined by vads_sub_init_amount_number. 3000
    vads_sub_currency Currency used for all of the installments.

    E.g.: 978 for euro (EUR)

    Notes:

    • The vads_sub_init_amount and vads_sub_amount fields cannot be set to 0.

    • To define a recurring payment where the 3 first months are free, all you need to do is set the start date (vads_sub_effect_date) to 3 months later.

  3. Compute the value of the signature field using all the fields of your form that start with vads_ (see chapter Computing the signature).
Example of a payment form:
<form method="POST" action="https://secure.payzen.eu/vads-payment/">
<input type="hidden" name="vads_action_mode" value="INTERACTIVE" />
<input type="hidden" name="vads_capture_delay" value="0" /> 
<input type="hidden" name="vads_ctx_mode" value="TEST" /> 
<input type="hidden" name="vads_currency" value="978" /> 
<input type="hidden" name="vads_cust_country" value="FR" /> 
<input type="hidden" name="vads_cust_email" value="example@gmail.com" />
<input type="hidden" name="vads_cust_first_name" value="John" /> 
<input type="hidden" name="vads_cust_last_name" value="Smith" /> 
<input type="hidden" name="vads_cust_title" value="Mr" /> 
<input type="hidden" name="vads_page_action" value="REGISTER_SUBSCRIBE" /> 
<input type="hidden" name="vads_payment_config" value="SINGLE" /> 
<input type="hidden" name="vads_site_id" value="91335531" /> 
<input type="hidden" name="vads_trans_date" value="20140716080441" /> 
<input type="hidden" name="vads_trans_id" value="362812" /> 
<input type="hidden" name="vads_validation_mode" value="0" /> 
<input type="hidden" name="vads_sub_currency" value="978" /> 
<input type="hidden" name="vads_sub_init_amount_number" value="3" /> 
<input type="hidden" name="vads_sub_init_amount" value="2500" /> 
<input type="hidden" name="vads_sub_amount" value="3000" /> 
<input type="hidden" name="vads_version" value="V2" />
<input type="hidden" name="signature" value="86b2a17b9a5fcefb6c0120c57b25ec86ad1704ee"/>
<input type="submit" name="pay" value="Pay"/>
</form>