3. Web App Setup
This section details the setup of the VPay JS Payment Dropin for desktop and mobile responsive web apps. All examples are made with reference to the SANDBOX environment.
With a few lines of code, you can integrate the VPay Javascript Dropin library and start accepting payments on your web and mobile web sites. The library is available at:
Sandbox Base URL: https://dropin-sandbox.vpay.africa
Live Base URL: https://dropin.vpay.africa
HTML Code Snippet (For Sandbox)
Each transactionref that you generate should be unique, alphanumeric and different from previously used ones. You may generate a ref using any scheme of your preference.
When setting up for your live web app, remember to edit the head <script> reference from the SANDBOX library to the LIVE library i.e. https://dropin.vpay.africa/dropin/v1/initialise.js
Last updated