razorpay / razorpay/razorpay-java

Fetch a Customer Identifier By ID appending 2 extra zeros to amount_paid response

Open
#307 2 comments 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

on trying to call Fetch a Customer Identifier By ID in test env it is appending 2 extra zeros to amount_paid response
When I login from razorpay Dashboard & go to Smart Collect I see amount as ₹ 501.00 as as attached in screenshot
Screen Shot 2024-03-12 at 14 12 20

But in postman response I see "amount_paid": 50100 attached in screenshot
Screen Shot 2024-03-12 at 14 19 50

Would you please let me know what will be solution to this problem.

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

Start with the Java SDK entry point for “Fetch a Customer Identifier By ID” and compare its amount_paid response with the test-environment API response and the Dashboard value shown in the report. Confirm whether the API amount is expressed in minor units, then determine the expected SDK behavior and verify it with the repository’s relevant tests, if present.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
api
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.