This repository contains the source code for a website that simplifies the process of requesting and validating payment links using the OnePay.lk payment API.
The website is available at: https://klass-lk.github.io/onepay-client.
- SHA256 Hash Validation: Validate the SHA256 hash required to send with API requests to OnePay.
- Request Payment Link: Send payment link requests directly via the website and view the API response.
-
SHA256 Hash Validation:
- Input the necessary parameters for the OnePay API request.
- The website generates and validates the SHA256 hash to ensure accuracy.
-
Send Payment Request:
- Use the website to submit payment link requests to the OnePay API.
- View the response directly in the interface.
- NextJS
- GitHub Pages for deployment
Contributions are welcome! Please fork this repository, make your changes, and submit a pull request.
To get started with local development:
-
Clone the repository:
git clone https://github.com/klass-lk/onepay-client.git
-
Install dependencies:
npm install
-
Run the development server:
npm start
-
Open your browser and navigate to
http://localhost:3000
.
This project is deployed using GitHub Pages. The deployment workflow is handled automatically via GitHub Actions.
Website: https://klass-lk.github.io/onepay-client
OnePay API: https://www.onepay.lk/