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
Note: I've added my key id and key secret in their respective "[YOUR_KEY_ID]", "[YOUR_KEY_SECRET]"
Then I tried adding
options.put("account_number", "[accNO]");
then it threw a different error saying Internal server error try after some time... and I've tried many times but still nothing.
and the Razorpay version I'm using is 1.4.3
The text was updated successfully, but these errors were encountered:
I'm trying to generate the orderId in Razorpay, and I'm following the steps given in documentation
https://razorpay.com/docs/payments/server-integration/java/payment-gateway/build-integration/#api-sample-code
. But its throwing an error saying com.razorpay.RazorpayException: BAD_REQUEST_ERROR:Account number is mandatory for this merchant
My code:
`RazorpayClient client = null;
try {
client = new RazorpayClient("[YOUR_KEY_ID]", "[YOUR_KEY_SECRET]");
JSONObject options = new JSONObject();
options.put("amount", 100);
options.put("currency", "INR");
options.put("receipt", "order_receipt_id");
Order order = client.orders.create(options);
System.out.println("ORDER Details: "+order);
Note: I've added my key id and key secret in their respective "[YOUR_KEY_ID]", "[YOUR_KEY_SECRET]"
Then I tried adding
options.put("account_number", "[accNO]");
then it threw a different error saying Internal server error try after some time... and I've tried many times but still nothing.
and the Razorpay version I'm using is 1.4.3
The text was updated successfully, but these errors were encountered: