Skip to main content

Button Integration

This guide provides step-by-step instructions for integrating the button into your application. By following these steps, the buttons could be enabled anywhere in your application.

Before you begin the integration process, ensure that you have the following prerequisites:

  1. Access to the source code of your application.
  2. An Button ID from Globiance merchant dashboard to initiate the button.
  3. Widget api-key from Globiance dashboard.

Step 1: Add HTML <script> to include our globiance button into website


<script
src="https://cdn.globiance.com/button/latest/button.js"
id="globiance-payment-btn"
button-id="25225610-3932-11ef-90e9-cb7ba8b64d79"
api-key="01259e6d-0369-4ff0-8b9c-4481f43239d9"
></script>

Step 2: Add <globiance-pay> button anywhere inside the page

<globiance-pay></globiance-pay>