Installation Guide
Detailed instructions for installing and setting up the PaySight Widget SDK
Installation Guide
This guide provides detailed instructions for installing and setting up the PaySight Widget SDK in your web application.
Installation Methods
HTML Script Tag
The simplest way to add the PaySight Widget SDK to your application:
Add this script tag to your HTML file before the closing </body>
tag for optimal loading performance.
CDN Links
Production (recommended):
Staging (for testing):
Development (for local development):
Environment Setup
Production
Staging
Development
Container Setup
Basic Container
Create a container element where the widget will be rendered:
Styled Container
Add basic styling to your container:
Responsive Container
Make your container responsive:
Initialization
Basic Initialization
Initialize the widget with minimal configuration:
Complete Initialization
Initialize with all recommended options:
Verification
Check Installation
Verify the SDK is loaded correctly:
Test Configuration
Verify your configuration:
Troubleshooting
Common Issues
-
Script Loading Failed
-
Container Not Found
-
Invalid Configuration
Next Steps
- Event Handling Guide - Learn how to handle widget events
- Styling Guide - Customize the widget appearance
- Examples - View implementation examples
- Troubleshooting - Common issues and solutions