feat: Implement VNPAY callback redirection to frontend and add UUID/public code to transactions.

This commit is contained in:
pbao9
2026-02-19 17:01:49 +07:00
parent c7215ababc
commit c720e62bda
8 changed files with 118 additions and 74 deletions
+1
View File
@@ -7,4 +7,5 @@ return [
'return_url' => env('VNPAY_RETURN_URL', 'http://localhost/thanh-toan/vnpay-return'),
'api_url' => env('VNPAY_API_URL', 'http://sandbox.vnpayment.vn/merchant_webapi/merchant.html'),
'transaction_api' => env('VNPAY_TRANSACTION_API', 'https://sandbox.vnpayment.vn/merchant_webapi/api/transaction'),
'frontend_url' => env('FRONTEND_URL', 'http://localhost:3000'),
];