schmittjoh/JMSPaymentPaypalBundle — Issue #25: Retrieve Information about the Customer - Expresscheckout
Author: dermythos
Created: 2012-03-07 18:37:06+00:00
State: open

Hi,

I wonder how to retrieve Information on the Customer like shipping Address and so on?

This should be handled after the Customer returns from PayPal. In the normal PayPal workflow it looks something like this:
$resArray = GetShippingDetails( $token );
https://github.com/hrendoh/PayPal-Express-Checkout-example/blob/master/review.php

In the PayPalPlugin.php (https://github.com/schmittjoh/JMSPaymentPaypalBundle/blob/master/Plugin/PaypalPlugin.php#L152), there is a function that returns the Details of the Customer.

I think there should be a function getDetails in the ExpressCheckoutPlugin (https://github.com/schmittjoh/JMSPaymentPaypalBundle/blob/master/Plugin/ExpressCheckoutPlugin.php).

What do you think? Or is there another working solution available?