Java post back is always INVALID
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The following question refers only to the "live" configuration, and not to the "sandbox" configuration: I'm re-writing a php post back endpoint in java. The existing PHP was using this example, without any credentials, and with this url: https://ipnpb.paypal.com/cgi-bin/webscr
The above endpoint seems to return a "VERIFIED" response every time.
On the other hand, the Java Core SDK has this method for making a post back
IPNMessage::validate()
with url https://www.paypal.com/cgi-bin/webscr, and (maybe) with credentials: username, password, token and AppId.
The above API always returns false, due to an "INVALID" response.
My questions are:
1. Is that the correct way to make a "post back" verification in Java?
2. Do I need credentials to make this post back verification?
Haven't Found your Answer?
It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.
- recurring payments when price maybe changed and price have 2 decimal point in REST APIs
- IPN works in sandbox but not live in Sandbox Environment
- Connecting with site to take payments in Payflow
- Need help to integrate PayPal Checkout with Ecwid in PayPal Upgrade Community
- Thank you page after payment with paypal buttons in PayPal Payments Standard