razorpay / razorpay/razorpay-java

Need to get JSONObject for each of the http method calls

Open
#336 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Java
Stars
74
Forks
83
PR merge metrics
No merged PRs in 30d

Description

For all error cases, we are not getting the full error object.

Also the code and description is concatenated as part of the exception which is making the implementation harder.

Give us other ways to get the full JSONObject for error cases along with the http status code.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Review how the SDK handles errors for each HTTP method call, focusing on where the full error object is lost and where code and description are concatenated into the exception. Done means callers can retrieve the full JSONObject and HTTP status code for error cases without relying on the concatenated exception text.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
api
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.