update credentials

This commit is contained in:
2025-09-18 00:32:03 +05:30
parent 5168f630b3
commit 20adf3439c
2 changed files with 3 additions and 3 deletions

View File

@@ -1,8 +1,8 @@
import Razorpay from "razorpay";
const razorpay = new Razorpay({
key_id: process.env.NEXT_RAZORPAY_CLIENT_ID,
key_secret: process.env.NEXT_RAZORPAY_SECRET_KEY,
key_id: "rzp_live_REdeGZclfm8KFo",
key_secret: "BXgwGPsYhxgUYsozCr2uoEZC",
});
export async function POST(req) {

View File

@@ -83,7 +83,7 @@ const PaymentComponent = ({ amount, onSuccess }) => {
const order = await createOrder();
const options = {
key: "rzp_test_Xf4wnkvQQeUnCq",
key: "rzp_live_REdeGZclfm8KFo",
amount: order.amount,
currency: order.currency,
name: "Rudraksha",