We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
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?
The text was updated successfully, but these errors were encountered:
I played around with the Plugins and tried to understand the Code.
I think the best would be to extend the Result Object.
When calling approveAndDeposit() we return a Result Object and we could extend it to also Contain Information on the Customer.
What do you think Johannes?
Sorry, something went wrong.
I'd prefer to put that kind of information into extended data, or even perform a separate API call after the payment succeeds.
The result object should be free from payment provider specific code.
No branches or pull requests
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?
The text was updated successfully, but these errors were encountered: