Internal Server Error(500) paypal create payment Rest API from Java json payload in Sandbox
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi
I am getting Internal Server Error(500) when accessing paypal payment Rest API from Java code using json payload in Sandbox.
I am using below json:
{
"intent": "sale",
"redirect_urls":
{
"return_url": "somelink",
"cancel_url": "somelink"
},
"payer":
{
"payment_method": "paypal"
},
"transactions": [
{
"amount":
{
"total": "17",
"currency": "EUR"
},
"description": "This is payment tran for Gahana."
}]
}
I tried to complete the same stuff using postman and I can do that. In fact I completed the whole payment transaction(approval and execution) using postman
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Users with knowledge of web code hang out here if you need assistance:
https://developer.paypal.com/support/
Kudos & Solved are greatly appreciated. 🙂
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi sharpiemarker,
Thanks for your reply.
I am sorry that I didn't understand you at all.
Do you suggest I visit the link you have provided?
I have already seen that and already I did lot of research on this error.
But still I can't get rid of it. There are some user who says sometimes this error appears. But I have tried lot of times with the same result.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Yeah, I suggest you visit that page to either report a bug or check the StackOverflow boards. Tech support assistance or users with knowledge of coding and integration don't post here much.
If you can't send payment or looking for a setting, we might can help.
Kudos & Solved are greatly appreciated. 🙂
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi sharpiemarker,
I have already seen the community and stackoverflow posts.
kindly guide me where do I post so that I can get help.
It will be very helpful if you can help.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @Uttam,
You can post your issue in the StackOverflow board, users there have more experience with integration and would understand what your code means than those that frequent these boards. Your issue will likely go unanswered if posted here, that is why I directed you to PayPal Developer support and the StackOverflow board. Or click the report a bug option to take you over to merchant tech support.
If you have a problem with using your PayPal account that has nothing to do with integration with your website or advanced coding, we might more likely be able to help with that. Otherwise, you have to go to the developer support pages.
Kudos & Solved are greatly appreciated. 🙂
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @Uttam,
Cool, hopefully someone there will have some insight to your issue. Good luck.
Kudos & Solved are greatly appreciated. 🙂

Haven't Found your Answer?
It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.