From 67f0aeb0403350447e322b51978c8c883e75c5f6 Mon Sep 17 00:00:00 2001 From: anishshobithps Date: Sun, 5 May 2024 09:37:02 +0530 Subject: [PATCH] add: ammount the payment table --- src/app/api/razorpay/verify/route.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/app/api/razorpay/verify/route.ts b/src/app/api/razorpay/verify/route.ts index 87dd463..4b68fe4 100644 --- a/src/app/api/razorpay/verify/route.ts +++ b/src/app/api/razorpay/verify/route.ts @@ -119,6 +119,7 @@ export async function POST(request: NextRequest) { orderCreationId: data.orderCreationId, }, create: { + amount: data.amount, signature: data.razorpaySignature, razorpayPaymentId: data.razorpayPaymentId, orderCreationId: data.orderCreationId,