mirror of
https://github.com/i701/sarlink-portal.git
synced 2025-07-01 21:28:23 +00:00
feat: add age validation in signup and update payment verification logic
All checks were successful
Build and Push Docker Images / Build and Push Docker Images (push) Successful in 5m17s
All checks were successful
Build and Push Docker Images / Build and Push Docker Images (push) Successful in 5m17s
This commit is contained in:
@ -1,5 +1,5 @@
|
||||
"use client";
|
||||
import { processWalletPayment } from "@/actions/payment";
|
||||
import { verifyPayment } from "@/actions/payment";
|
||||
import {
|
||||
Table,
|
||||
TableBody,
|
||||
@ -84,9 +84,9 @@ export default function DevicesToPay({
|
||||
disabled={verifying}
|
||||
onClick={async () => {
|
||||
setVerifying(true);
|
||||
await processWalletPayment({
|
||||
amount: payment?.amount ?? 0,
|
||||
payment: payment,
|
||||
await verifyPayment({
|
||||
method: "WALLET",
|
||||
id: payment?.id ?? "",
|
||||
});
|
||||
setVerifying(false);
|
||||
}}
|
||||
|
Reference in New Issue
Block a user