When sending users to complete payment inside PayPal (default PayPal Standard is in use in my shop), how can I grab the PayPal e-mail account used by the user to pay, instead of the e-mail user used for registering in my system? 90% of the time, user will use the same account for registration and for payment, but that is not bulletproof. There is nothing stopping the user from using a different PayPal e-mail account.

My store is set so as to require user registration prior to sending him/her to checkout on PayPal.

What I want to do is grab the e-mail used for payment with PayPal and store it as the billing e-mail. Otherwise, WooCommerce will store the default user account e-mail as billing e-mail by default.

Thank you in advance!

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.