diff --git a/src/app/api/verify-order/route.ts b/src/app/api/verify-order/route.ts index 2815441..d4bef86 100644 --- a/src/app/api/verify-order/route.ts +++ b/src/app/api/verify-order/route.ts @@ -4,7 +4,7 @@ import { getServerSideSession } from "@/lib/get-server-session"; import prisma from "@/server/db"; import { sendRegistrationEmail } from "@/lib/send-registration-email"; -const generatedSignature = (razorpayOrderId: string, razorpayPaymentId: string) => { +export const generatedSignature = (razorpayOrderId: string, razorpayPaymentId: string) => { const keySecret = process.env.RAZORPAY_KEY_SECRET!; const sig = crypto