Rediriger l'acheteur vers la page de paiement

L’URL de la plateforme de paiement est la suivante :

Exemple de paramètres envoyés à la plateforme de paiement:

Cet exemple présente l'ensemble des champs qui peuvent être envoyés dans le cas où ces informations sont disponibles dans votre système d'information. En fonction de vos besoins métier certains champs peuvent ne pas être envoyés.

<form method="POST" action="https://secure.lyra.com/vads-payment/">
<input type="hidden" name="vads_action_mode" value="INTERACTIVE" /> 
<input type="hidden" name="vads_amount" value="1315" /> 
<input type="hidden" name="vads_currency" value="978" />
<input type="hidden" name="vads_cust_id" value="Client" />
<input type="hidden" name="vads_cust_status" value="PRIVATE" />
<input type="hidden" name="vads_cust_first_name" value="Jeanne" />
<input type="hidden" name="vads_cust_last_name" value="Gauthier" />
<input type="hidden" name="vads_cust_phone" value="0123456789" />
<input type="hidden" name="vads_cust_cell_phone" value="+32 45678901" />
<input type="hidden" name="vads_cust_email" value="jg@sample.com" />
<input type="hidden" name="vads_cust_address_number" value="2" />
<input type="hidden" name="vads_cust_address" value="Place du marché" />
<input type="hidden" name="vads_cust_zip" value="4000" />
<input type="hidden" name="vads_cust_city" value="Liege" />
<input type="hidden" name="vads_cust_country" value="FR" />
<input type="hidden" name="vads_ctx_mode" value="TEST" />
<input type="hidden" name="vads_order_id" value="CMD012859" />
<input type="hidden" name="vads_page_action" value="PAYMENT" />
<!-- EDENRED recommends sending only one value in the vads_payment_cards field 
to prevent the buyer from making an additional choice in the payment page.-->
<input type="hidden" name="vads_payment_cards" value="EDENRED_TR" />
<input type="hidden" name="vads_payment_config" value="SINGLE" />
<input type="hidden" name="vads_nb_products" value="1" />
<input type="hidden" name="vads_product_label0" value="La Végétarienne" />
<input type="hidden" name="vads_product_ref0" value="ZJJ5520" />
<input type="hidden" name="vads_product_qty0" value="1" />
<input type="hidden" name="vads_product_amount0" value="1273" />
<input type="hidden" name="vads_product_type0" value="FOOD_AND_GROCERY" />
<input type="hidden" name="vads_ship_to_type" value="PACKAGE_DELIVERY_COMPANY" />
<input type="hidden" name="vads_ship_to_speed" value="STANDARD" />
<input type="hidden" name="vads_ship_to_delay" value="IMMEDIATE" />
<input type="hidden" name="vads_ship_to_first_name" value="Jeanne" />
<input type="hidden" name="vads_ship_to_last_name" value="Gauthier" />
<input type="hidden" name="vads_ship_to_phone_num" value="+32 23456789" />
<input type="hidden" name="vads_ship_to_street_number" value="2" />
<input type="hidden" name="vads_ship_to_street" value="Place du marché" />
<input type="hidden" name="vads_ship_to_zip" value="4000" />
<input type="hidden" name="vads_ship_to_city" value="Liege" />
<input type="hidden" name="vads_ship_to_country" value="BE" />
<input type="hidden" name="vads_site_id" value="12345678" /> 
<input type="hidden" name="vads_trans_date" value="20200326101407" /> 
<input type="hidden" name="vads_trans_id" value="362812" /> 
<input type="hidden" name="vads_version" value="V2" />
<input type="hidden" name="signature" value="NM25DPLKEbtGEHCDHn8MBT4ki6aJI/ODaWhCzCnAfvY="/>
<input type="submit" name="payer" value="Payer"/>
</form>