Transmettre les données de la commande
Le marchand peut indiquer dans son formulaire de paiement s’il souhaite transmettre les informations de la commande (numéro de la commande, description, contenu du panier etc.).
Exemple de formulaire de paiement avec description du
panier
"vads_product_xxx" :
<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="11000" /> <input type="hidden" name="vads_capture_delay" value="0" /> <input type="hidden" name="vads_ctx_mode" value="PRODUCTION" /> <input type="hidden" name="vads_currency" value="978" /> <input type="hidden" name="vads_nb_products" value="2"/> <input type="hidden" name="vads_product_amount0" value="5000" /> <input type="hidden" name="vads_product_label0" value="produit1" /> <input type="hidden" name="vads_product_qty0" value="2" /> <input type="hidden" name="vads_product_ref0" value="ref1" /> <input type="hidden" name="vads_product_amount1" value="1000" /> <input type="hidden" name="vads_product_label1" value="produit2" /> <input type="hidden" name="vads_product_qty1" value="1" /> <input type="hidden" name="vads_product_ref1" value="ref2" /> <input type="hidden" name="vads_order_id" value="CD100000857" /> <input type="hidden" name="vads_page_action" value="PAYMENT" /> <input type="hidden" name="vads_payment_config" value="SINGLE" /> <input type="hidden" name="vads_site_id" value="12345678" /> <input type="hidden" name="vads_trans_date" value="20190627145218" /> <input type="hidden" name="vads_trans_id" value="571381" /> <input type="hidden" name="vads_version" value="V2" /> <input type="hidden" name="signature" value="xYw1UnU3BACGhf3UEyqbQzpwuvZDEkCAWAE5fgbtfxI="/> <input type="submit" name="payer" value="Payer"/></form>