Maintainers
Pricing
Enterprise
More
More
Documentation
Try Live
Rankings
Install
Blog
Docs7
Ask
New
Add Docs
Laravel SePay
https://github.com/sepayvn/laravel-sepay
Admin
Laravel SePay is an automation solution for bank transfer payments.
Tokens:
448
Snippets:
6
Trust Score:
5.7
License:
MIT
Update:
4 months ago
Context
Chat
Benchmark
Latest
Show doc for...
Code
Info
Show Results
Tokens:
Raw
Copy
Link
Tokens:
Raw
Copy
Link
### Run Project Tests Source: https://github.com/sepayvn/laravel-sepay/blob/main/README.md Execute this command to run the automated tests for the Laravel Sepay package. ```bash composer test ``` -------------------------------- ### Test Webhook with Postman Source: https://github.com/sepayvn/laravel-sepay/blob/main/README.md Use this cURL command to send a test webhook request to your Laravel application's SePay endpoint. Ensure you replace placeholder values with your actual domain, API key, and transaction details. ```bash curl --location 'https://domain.com/api/sepay/webhook' \ --header 'Content-Type: application/json' \ --header 'Authorization: Bearer Apikey đây_là_khóa_bí_mật' \ --data '{ \ "gateway": "MBBank", \ "transactionDate": "2024-05-25 21:11:02", \ "accountNumber": "0359123456", \ "subAccount": null, \ "code": null, \ "content": "Thanh toan QR SE123456", \ "transferType": "out", \ "description": "Thanh toan QR SE123456", \ "transferAmount": 1700000, \ "referenceCode": "FT123456789", \ "accumulated": 0, \ "id": 123456 \ }' ```