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