Integration Guide for Web Desktop & Mobile Browser
Last updated
Last updated
Step 1: Import tag <meta> for responsive
Step 2: Import tag <script> with src:
Step 3: Create tag <div> with id = galaxy-pay-sdk in your checkout page
Step 4: Create callback function to receive payment result. See for detail.
Step 5: Create callback function to close modal chekout.
Step 6: Call function galaxyPaySubmitPayment(endpoint, callback, option)
endpoint: Receive from API Checkout (see ).
callback: The function to receive payment result.
option: The payment option (JSON object)
Example: