Get payment information for an invoice on behalf of a customer
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
We currently have Login with Paypal working and pulling our customers invoices for processing. We are specifically looking for shipping information which is attached to the invoice most of the time. However, some of the invoices have a shipping address that are attached to a specific payment. Unfortunately, we are unable to access the Payment api using the token we generated for the customer (keep getting a forbidden error). Specifically we see REQUIRED_SCOPE_MISSING. I can't find any documentation on exactly where to set scope for the payments api so the user can give us access. I've tried multiple ways in the login flow, but so far it's not working.
Below is the example flow of what I am looking to do.
1. Login with PayPal
2. Authorize app
3. Pull invoices (using token)
4. Get payment information for an invoice (fails here)
Is there anything specific we are missing in order to call into the payments api on behalf of someone?
Thanks
Haven't Found your Answer?
It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.
- Disputes Webhook does not works on Sandbox (23/04/24) in Sandbox Environment
- Integrating buttons into my website 2024 in PayPal Payments Standard
- Enable PayPal Billing Address Request on sandbox account in REST APIs
- Javascript API returning weasley_content_missing_en_AU_compliance.sanctions in SDKs
- Error: Payment gateway is unavailable in PayPal Payments Standard