Payer Address is not giving any details
RailsDev07
Contributor
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Posted on
Jan-07-2022
08:53 AM
I am using paypal create and capture order with version 2. And as the documentation says I should receive the payer address as wanted to use it as billing address but paypal is only returning the country code in this.
"payer"=>{"name"=>{"given_name"=>"John", "surname"=>"Doe"}, "email_address"=>"email.com", "payer_id"=>"someId", "address"=>{"country_code"=>"GB"}}
here is the object I am getting. and this is what I have expected and is looking for
https://developer.paypal.com/api/orders/v2/#definition-payer
So kindly help me with this.
1 REPLY 1

Moderator
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Jan-10-2022
07:04 AM
Hello,
The billing address won't be returned by default. In order to retrieve the billing address for a buyer, you need to request that functionality be enabled for your account.
For production accounts, you need to contact our customer service team and request they enable the return of the buyer's billing address for your account.
https://www.paypal.com/smarthelp/contact-us
Thanks !
Was my post helpful? If so, please give me a kudos!
The billing address won't be returned by default. In order to retrieve the billing address for a buyer, you need to request that functionality be enabled for your account.
For production accounts, you need to contact our customer service team and request they enable the return of the buyer's billing address for your account.
https://www.paypal.com/smarthelp/contact-us
Thanks !
Was my post helpful? If so, please give me a kudos!

Haven't Found your Answer?
It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.
Related Content
- Error payment in PayPal Payments Standard
- Compliance violation. flag based on the account origin ? in Sandbox Environment
- Cant get mobile number from details. object even though my paypal button mandates submission in Sandbox Environment
- Subscription did not get auto renewed in sandbox mode but it was created successfully in Sandbox Environment
- v2/vault/payment-tokens API error "Authorization failed due to insufficient permissions." in REST APIs