- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I'm unable to activate the Transaction Search permission and retrieve transactions via the API. From the developer dashobard, I've done the following:
1) opened My Apps & Credentials
2) clicked Live
3) clicked Create App
4) Given my app a name
5) Ticked the Transaction Search box
6) Clicked Save
7) Copied my Client ID & Secret
😎 Ran the following (substituting in my client ID & secret):
curl -v https://api-m.paypal.com/v1/oauth2/token \
-H "Accept: application/json" \
-H "Accept-Language: en_US" \
-u "client_id:secret" \
-d "grant_type=client_credentials"
9) Received back a token with the following scopes:
"scope": "https://uri.paypal.com/services/invoicing https://uri.paypal.com/services/disputes/read-buyer https://uri.paypal.com/services/payments/realtimepayment https://uri.paypal.com/services/disputes/update-seller https://uri.paypal.com/services/payments/payment/authcapture openid https://uri.paypal.com/services/disputes/read-seller https://uri.paypal.com/services/payments/refund https://api.paypal.com/v1/vault/credit-card https://api.paypal.com/v1/payments/.* https://uri.paypal.com/payments/payouts https://api.paypal.com/v1/vault/credit-card/.* https://uri.paypal.com/services/shipping/trackers/readwrite https://uri.paypal.com/services/subscriptions https://uri.paypal.com/services/applications/webhooks"
This doesn't work with the transaction search API (gets a "No permission for the requested operation" error) presumably because the returned token is missing the "https://uri.paypal.com/services/reporting/search/read" scope. However I don't know how to get this scope to appear. I've tried creating a new app, creating a dev app, deleting the old token with the /token/terminate endpoint, re-saving and creating a new secret. I've confirmed that the Transaction Search permission is checked. Nothing will produce the required permission. Am I missing something or is this an issue with Paypal's API? Thank you.
Solved! Go to Solution.
- Labels:
-
Payments REST APIs
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Update: with no changes at all, I tried running the same request again and now the reported scope appeared. So it appears to be a cache issue on Paypal's side, which can be resolved by simply waiting.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Update: with no changes at all, I tried running the same request again and now the reported scope appeared. So it appears to be a cache issue on Paypal's side, which can be resolved by simply waiting.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Having similar issue today, tried to created many apps from same account but doesn't work.
Been using "Patience solution" for over 4 hours, not sure how long did you wait until got success on retry?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I waited nearly 24 hours before I tried again, so I don't know at exactly which point it was updated. I would just hang on and try again tomorrow.
Haven't Found your Answer?
It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.
- We're not currently set up for transactions in India. in PayPal Payments Standard
- When I do PayPal capture Order, I keep on getting Invalid Request Connection in REST APIs
- Need Help Upgrading to PayPal complete payments in PayPal Upgrade Community
- I need to know , how can I edit the response email data/template when a payment is confirmed/failed. in Sandbox Environment
- REST API issues in sandbox in REST APIs