test-technonext/technonext-plugin-php
Composer 安装命令:
composer require test-technonext/technonext-plugin-php
包简介
TechnoNextPay is a online payment gateway and easy payment solution
关键字:
README 文档
README
-Technonextpay integration example with sp-plugin-php
Powered by: Technonext Pay Limited
This is an example application made with PHP programing language which is using Sp-plugin-php to integrate Technonextpay payment system to the application.
📖 Developer Guide
For a comprehensive understanding of how the plugin works and how to integrate it into your application, see the Developer Guide.
The guide covers:
- Architecture overview and component purposes
- Complete payment flow explanation
- Step-by-step integration instructions
- API reference and examples
- Best practices and troubleshooting
⚡ Quick Start
New to the plugin? Get up and running in 5 minutes with the Quick Start Guide.
Perfect for:
- First-time integration
- Testing the plugin quickly
- Understanding basic payment flow
Security & Best Practices
✅ Implemented Improvements (2026)
- Input Validation: All user inputs are now sanitized and validated before processing
- Proper Error Handling: Validation methods return appropriate boolean values instead of always true
- Secure Logging: Replaced
print_rwitherror_logfor better security - Environment Variables: Credentials loaded from environment variables instead of hardcoded values
- Unit Tests: Basic test suite added for validation functions
- HTTP Security: Improved cURL configuration with proper SSL verification and timeouts
⚠️ Security Notes
- Never use
configaration.phpin production - it contains example credentials - Always load configuration from environment variables using
TechnonextpayEnvReader - Ensure SSL verification is enabled in production
- Regularly update dependencies and monitor for security vulnerabilities
How to Run in Windows:
Follow below instruction to run "php-app-php-plugin" example application:
- Clone/Download repository to your local directory.
- Place downloaded folder to xampp/htdocs.
- Open XAMPP control Panel and start Apache.
- To run the project type http://localhost/php-app-php-plugin in any browser.
php-app-php-plugin application will run in Windows.
How to Run in Linux:
Follow below instruction to run "php-app-php-plugin" example application:
- Clone/Download repository to your local directory.
- You must have PHP and Apache server in your system.
- Place downloaded folder to var/www/html.
- To run the project type http://localhost/php-app-php-plugin in any browser.
php-app-php-plugin application will run in Linux.
Testing
The plugin includes a comprehensive test suite to ensure code quality and reliability.
Run Tests
php tests/run_tests.php
See tests/README.md for detailed testing information.
References
1. [PHP sample project](https://github.com/tnextpay-plugins/tnextpay-plugin-usage-examples/tree/main/php-app-plugin) showing usage of the PHP plugin.
2. [Sample applications and projects](https://github.com/tnextpay-plugins/tnextpay-plugin-usage-examples) in many different languages and frameworks showing Technonextpay integration.
3. [Technonextpay Plugins](https://github.com/tnextpay-plugins) home page on github
License
This code is under the MIT open source License.
Please contact with Technonextpay team for more detail.
Copyright ©️2022 ShurjoMukhi Limited.
统计信息
- 总下载量: 4
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2026-01-08