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 GlobiancePay Checkout dashboard.

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


<script
src="https://cdn.globiancepay.com/button/latest/button.js"
id="globiance-payment-btn"
button-id="6fffab80-8af2-11ef-8bce-7feaf8ea02ae"
api-key="3e78e9af-9f8d-4b0a-b53b-e55c01347479"
></script>

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

<globiance-pay></globiance-pay>