Managing the payment methods offered to the buyer
It is possible to customize the payment methods offered to the buyer by using the vads_payment_cards field.
It is recommended to provide a different payment button for each payment method on the merchant website and to transmit the buyer’s choice in the vads_payment_cards.
The list of possible values is available in the Data dictionary.
For more information, please consult the documentation dedicated to each payment method that you wish to offer.
To offer payment by CB, Visa, Mastercard, Maestro, Visa Electron and e-CB cards, we recommend to only submit the CB value.
To offer payment by card via European acquirers (Elavon, Six, Concardis, VR Pay, etc.), we recommend to submit the "VISA" or "MASTERCARD” value.
Thus, the buyer is redirected to the card data entry page, and the card type is automatically detected.
It is strongly recommended not to leave this field empty. In case of adding a new payment method to your shop, it will be offered automatically, even if you do not wish to offer it.
Example of a payment form with payment method selection:
<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="30000" /> <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_page_action" value="PAYMENT" /> <input type="hidden" name="vads_payment_cards" value="CB" /> <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="20190626101407" /> <input type="hidden" name="vads_trans_id" value="239848" /> <input type="hidden" name="vads_version" value="V2" /> <input type="hidden" name="signature" value="qqpxF6z1+Ri5jtkHNVDCCJulxxpJYehrfP1OLwJ4Ysg="/> <input type="submit" name="pay" value="Pay"/> </form>