refactor: resolve payment iossue

This commit is contained in:
2025-04-30 14:22:35 +05:30
parent 36a1d2e1a2
commit 366d8bf3dc
3 changed files with 51 additions and 3 deletions

View File

@@ -8,7 +8,7 @@ export default async function handler(req, res) {
const body = razorpay_order_id + "|" + razorpay_payment_id;
const expectedSignature = crypto
.createHmac("sha256", "8CTcXrodJqKQ3cfmic84Ffdl")
.createHmac("sha256", "439mV3nOC1nCRiruq4xcf5gP")
.update(body.toString())
.digest("hex");