-
Notifications
You must be signed in to change notification settings - Fork 71
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Updated stakeholder endpoints #318
Conversation
@Test | ||
public void testuploadStakeholderDoc() throws RazorpayException { | ||
JSONObject request = new JSONObject(); | ||
request.put("files","/Users/your_name/Downloads/sample_uploaded.pdf"); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
use relative URL
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I placed the same URL as it is in the document.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
request.put("files","/Users/your_name/Downloads/sample_uploaded.jpeg"); |
" \"url\": \"https://rzp.io/i/bzDAbNg\"\n" + | ||
" }\n" + | ||
" ]\n" + | ||
"}"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
same here, please check if mockedResponseJson can be created as new JSONObject, then convert it to String using toString() method so that it can be passed to mockResponseFromExternalClient()
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
JSONObject mockedResponseJson = new JSONObject(); |
Api doc reference
Fetch Stakeholder Documents
Post stakeholder documents