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
@@ -81,7 +81,12 @@ class ClientController extends Controller
*/
public function me()
{
return new ClientResource(auth('client')->user());
return response()->json([
'error' => false,
'data' => [
'client' => new ClientResource(auth('client')->user()),
],
]);
}
/**