Embedded mode
Once you have the formToken, display the payment form.
- Add the kr-embedded class,
- Set the parameter
kr-form-token
with theformToken
generated.
. Code sample:
<body>
<!-- new class kr-embedded with the kr-form-token-->
<div class="kr-embedded" kr-form-token="[GENERATED FORMTOKEN]">
(...)
</div>
</body>
Example of a payment form: