• France
status page
Demo shops
assistance
FAQContact support
Search
Categories
Tags
docs.
France
Spain
Europe (English)
India
Homepage
Use cases
Create a payment
Create an installment payment
Create a multi-card (split) payment
Create a payment by Alias (Token)
Create a payment link
Create a recurring payment
Manage subscriptions
Manage your transactions (refund, cancel...)
Analyze your reports
API docs
Embedded Form
REST API
Hosted payment
Mobile payment
File exchange
SDD mandates by REST API
Snippets
Payment methods
Plugins
Marketplace
Guides
Merchant Back Office
Back Office Expert
Functional guides

Defining 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 EUR 45.25,and the remaining installments equal to EUR 75.90.

To do so:

  1. Use the fields required for your use case (recurring payment with a fixed date and amount) to create your payment form.
  2. Use the fields below:
    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)

     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.
Form example:
<form method="POST" action="https://secure.lyra.com/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="exemple@gmail.com" />
<input type="hidden" name="vads_cust_first_name" value="Paul" /> 
<input type="hidden" name="vads_cust_last_name" value="Juve" /> 
<input type="hidden" name="vads_cust_title" value="M." /> 
<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="20190716080441" /> 
<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="G6oZchxNT+ySm7YQ/zvQvfgxmOmubvZ0lPwFKKVUSyI="/>
<input type="submit" name="payer" value="Pay"/>
</form>
Jobs
Legal
GDPR
25.18-1.11