PHP (Laravel) - Need to get PayPal user's county code from email while payout
vishu099
New Community Member
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Posted on
Feb-11-2018
09:58 PM
I'm using the PayPal Payouts with a sandbox app.
I need to get the country code of receiver from email to calculate PayPal Payout charge before Payout ($0.25 for the US and 2% of the amount for non-US)..
1 REPLY 1
MTS_Andre
Moderator
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Feb-12-2018
05:41 AM
Hi, the only way you could eventually try to get that is to use the "Login with PayPal" where you get the consent from the user (receiver in your case) and then you call the /v1/identity/openidconnect/
But this means that for each payout the receiver needs to Login with PayPal first.
Haven't Found your Answer?
It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.