How do I get the customer input for the billing address?
cyberian
Contributor
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Posted on
Apr-10-2019
09:16 AM
Hello!
At the moment I am trying to integrate PayPal Plus into my own shop. I came across the following problem:
After the customer has been redirected to the Paypal site and has made the payment, I can not read the billing address entered there. I only receive the first name, last name, e-mail, payer ID and shipping address. As long as shipping address and billing address are identical, this is not a problem, but there are already changes. I have already transferred the values when creating the payment. The fields are pre-filled accordingly.
Here is an example response:
[...]
[payer] => Array ( [payment_method] => paypal [status] => UNVERIFIED [payer_info] => Array ( [email] => <removed> [first_name] => Max [last_name] => <removed> [payer_id] => BZ9S5H4ZJ6YM2 [shipping_address] => Array ( [recipient_name] => Max <removed> [line1] => Kurfürstendamm 100 [line2] => Test address line 2 [city] => Berlin [state] => [postal_code] => 10709 [country_code] => DE ) [country_code] => DE ) ) [transactions] => array [...]
Is there any way to get the billing address?
Thanks,
cyberian
Labels:
- Labels:
-
Payments REST APIs
-
Payouts Rest APIs
0 REPLIES 0
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
- How do I update shipping in the popup when using onShippingAddressChange() in REST APIs
- can we assign a unique detail to every subscription creation? in NVP/SOAP APIs
- Multiple locations to same email address result in one client only. in SDKs
- Buy Now button in the sandbox - no customer confirmation email in Sandbox Environment
- Show all billing address fields when hiding shipping address fields in PayPal Payments Standard