paypal / PayPal-PHP-SDK

PHP SDK for PayPal RESTful APIs
https://developer.paypal.com/docs/api/
Other
27 stars 100 forks source link

Cannot get payers shipping address information #19

Closed mahagr closed 10 years ago

mahagr commented 11 years ago

There is no known way to get shipping information from the user (paypal payment):

$paymentExecution = new PaymentExecution();
$paymentExecution->setPayerId($payerId);
$payment = $payment->execute($paymentExecution, $apiContext);
$response = $payment->toJSON();

Response contains payer_info:

"payer_info":{"email":"test@domain.com","first_name":"Test","last_name":"User","payer_id":"XXXX"}}

Is the feature missing or is there a way to get this information from the API?

lathavairamani commented 11 years ago

@mahagr This is the known issue, we reached the Engineering Team and they are looking into this issue. Will update you once it is done.

mahagr commented 11 years ago

Any updates on this? I wish it will get sorted out fairly soon as it's blocking our use for the new API.

dennismija commented 11 years ago

I have the same problem. it is very unfortunate to get no shipping information...

kryogenic commented 11 years ago

Is this going to be fixed?

Edit: The sample was wrong (is now fixed), so the shipping info is actually available :) Thanks for accepting my merge request \o/

buntyjoshi commented 10 years ago

Closing this as it has been fixed.