Download the PHP package sepay/sepay-pg without Composer
On this page you can find all versions of the php package sepay/sepay-pg. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download sepay/sepay-pg
More information about sepay/sepay-pg
Files in sepay/sepay-pg
Package sepay-pg
Short Description Official PHP SDK for SePay Payment Gateway — simple integration for payments, bank transfers, VietQR.
License MIT
Homepage https://sepay.vn
Informations about the package sepay-pg
SePay PHP SDK
Translations: Tiếng Việt
Official PHP SDK for SePay Payment Gateway. Easy integration for payments, bank transfers, VietQR.
Installation
You can install the SDK by running the following command:
Requirements
- PHP 7.4 or higher
- ext-json
- ext-curl
- Guzzle HTTP client
Quick Start
Examples
Run the examples to see how everything works:
Core Concepts
Client Initialization
API Resources
Checkout
Generate secure form fields for payment processing. This is how you start payments with SePay.
Payment Methods
Orders
Note: Orders are created when customers complete checkout, not directly through the API.
Error Handling
The SDK has different exception types for different errors:
Configuration
Testing
Run the test suite:
Contributing
- Fork the repository
- Create a feature branch
- Make your changes
- Add tests for new functionality
- Ensure all tests pass
- Submit a pull request
License
This SDK is licensed under the MIT License. See LICENSE for details.
Support
- Email: [email protected]
- Documentation: https://developer.sepay.vn
- Issues: https://github.com/sepayvn/sepay-pg-php/issues
Changelog
See CHANGELOG.md for version history and changes.
All versions of sepay-pg with dependencies
ext-curl Version *
ext-json Version *
guzzlehttp/guzzle Version ^7.10
psr/log Version ^1.1|^2.0|^3.0