Creating an immediate payment
A payment is considered as immediate payment if:
- the amount is debited once,
- the capture delay at the bank is 0 days.
An authorization request for the total amount is sent. The payment is captured at the bank as soon as possible.
Example of a form for an immediate payment:
<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="15000" /> <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_order_id" value="CX-1254" /> <input type="hidden" name="vads_page_action" value="PAYMENT" /> <input type="hidden" name="vads_payment_cards" value="AMEX" /> <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="pt156G" /> <input type="hidden" name="vads_version" value="V2" /> <input type="hidden" name="signature" value="0WaYrONo3L0VZqMcvyVf8vT/g8KfZKJ+1jqiAs3Ehiw="/> <input type="submit" name="payer" value="Payer"/> </form>