Closed ssubham closed 2 years ago
@ssubham Were u able to find any solution . I'm also facing the same issue
@ssubham @shadab-hashmi sorry for the delay . you got this error because your account does not have this feature enabled. if you resolved this issue then please let us know
Closing this issue.
Hi, I am trying to integrate razorpay api for payment with my orders(not created on razorpay). But, I am getting error of BAD_REQUEST_ERROR.
Made the code like this what it was in sample one for testing -- Inst.payments.createPaymentJson({ amount: 1, currency: "INR", order_id: "order_EAkbvXiCJlwhAR", email: "user@gmail.com", contact: 9111111111, method: "card", card:{ number: 4111111111111111, name: "saurabh kumar", expiry_month: 11, expiry_year: 23, cvv: 098 }, callback_url:"http://localhost:3000/payment", ip:"127.0.0.1", }, function(result){ console.log("payment result: ", result) })
The result is as below: result: { statusCode: 400, error: { code: 'BAD_REQUEST_ERROR', description: 'The requested URL was not found on the server.', source: 'NA', step: 'NA', reason: 'NA', metadata: {} } }
Can you let me know how to get it fixed.. as it is very important and urgent to me?