Basic implementation
1
Load the script
Include the environment JavaScript inside
head.2
Prepare the form
Add
class="alignet-form-vpos2", the POST method, and all required fields, including the purchaseVerification signature.3
Open the Modal
Call
AlignetVPOS2.openModal() from the user’s click.Safari consideration
Safari may block the helper window required to enable gateway cookies if the Modal is opened fromsetTimeout, onload, or after an Ajax call.
Do not mix integration and production URLs in the same implementation.
Continue to parameters and responses →
