helaplus / laravelhelaplus
:package_description
v0.5.2
2022-12-25 07:00 UTC
Requires
Requires (Dev)
- orchestra/testbench: ~9
- phpunit/phpunit: ~9.0
README
这里应该是你的描述。请查看contributing.md以查看待办事项清单。
安装
通过 Composer
$ composer require helaplus/laravelhelaplus
添加以下配置
B2B_INITIATOR="{your_initiator}" B2B_PASSWORD="{your_password}" B2B_SOURCE={source_paybll} B2B_RESULT_URL={result_url} B2B_CALLBACK_URL={callback_url} B2B_SECURITY_CREDENTIAL={security_credential} HELAPLUS_API_TOKEN="your_helaplus_api_token" HELAPLUS_B2B_ENDPOINT={helaplus_endpoint}
发布配置文件。这将发布配置文件到config/laravelhelaplus
$ php artisan vendor:publish Then select laravelhelaplus $ php artisan migrate //This will create a table for helaplus_transactions
使用方法
use Helaplus\Laravelhelaplus\Http\B2BPaymentController; $response = B2BPaymentController::sendB2BPayment($amount,$recipient_paybill,$commandId,$reference);
变更日志
请查看changelog以获取关于最近更改的更多信息。
测试
$ composer test
贡献
请查看contributing.md以获取详细信息以及待办事项清单。
安全
如果您发现任何安全相关的问题,请通过电子邮件author@email.com而不是使用问题跟踪器。
鸣谢
许可
MIT。请查看许可文件以获取更多信息。