You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello All,
I am able to get payment id from razorpay front end, bu when I trying to capture the payment with java api I am getting this error:
api.razorpay.com: temporary failure in name resolution.
I am testing it from test mode and key. Do I need to test with Live credentials?
I googled but didn't find any help.
Please help.
Thanks in advance.
The text was updated successfully, but these errors were encountered:
I am facing this every time when I try to capture the payment.
We are behind proxy, so is there any different configuration required. I am using Ubuntu 16 version 64 bit machine. Following is my code snippet:
RazorpayClient razorpay = new RazorpayClient(razorKey, razorSecret);
try {
JSONObject captureRequest = new JSONObject();
captureRequest.put("amount", 100); // Amount in paise
Payment payment = razorpay.Payments.capture("pay_XXXXXXXXXX", captureRequest);
/*In above line it throws to the catch block...*/
} catch (RazorpayException e) {
System.out.println(e.getMessage());
return e;
}
Hello All,
I am able to get payment id from razorpay front end, bu when I trying to capture the payment with java api I am getting this error:
api.razorpay.com: temporary failure in name resolution.
I am testing it from test mode and key. Do I need to test with Live credentials?
I googled but didn't find any help.
Please help.
Thanks in advance.
The text was updated successfully, but these errors were encountered: