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:
<form method="POST" action="https://sogecommerce.societegenerale.eu/vads-payment/"> <input type="hidden" name="vads_action_mode" value="INTERACTIVE" /> <input type="hidden" name="vads_amount" value="2990" /> <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="me@example.com" /> <input type="hidden" name="vads_order_id" value="CMD012859" /> <input type="hidden" name="vads_page_action" value="REGISTER_PAY" /> <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="20200426101407" /> <input type="hidden" name="vads_trans_id" value="x6Z41p" /> <input type="hidden" name="vads_version" value="V2" /> <input type="hidden" name="signature" value="NM25DPLKEbtGEHCDHn8MBT4ki6aJI/ODaWhCzCnAfvY="/> <input type="submit" name="payer" value="Payer"/> </form>