issue fix
This commit is contained in:
@@ -35,7 +35,7 @@ const PaymentComponent = ({ amount, onSuccess }) => {
|
|||||||
|
|
||||||
const response = await axios.get("https://apilayer.net/api/live", {
|
const response = await axios.get("https://apilayer.net/api/live", {
|
||||||
params: {
|
params: {
|
||||||
access_key: "",
|
access_key: "9bcb30907dee1cda9866f7b49f0f8def",
|
||||||
currencies: "USD",
|
currencies: "USD",
|
||||||
source: "INR",
|
source: "INR",
|
||||||
format: 1,
|
format: 1,
|
||||||
@@ -94,7 +94,7 @@ const PaymentComponent = ({ amount, onSuccess }) => {
|
|||||||
const order = await createOrder();
|
const order = await createOrder();
|
||||||
console.log(shippingData)
|
console.log(shippingData)
|
||||||
const options = {
|
const options = {
|
||||||
key: process.env.NEXT_RAZORPAY_CLIENT_ID,
|
key: "rzp_test_1SbLmNX2nCKRZA",
|
||||||
amount: order.amount,
|
amount: order.amount,
|
||||||
currency: order.currency,
|
currency: order.currency,
|
||||||
name: "Rudraksha",
|
name: "Rudraksha",
|
||||||
|
|||||||
Reference in New Issue
Block a user