Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Express Checkout - Account Updates..?? #236
Express Checkout obtains user details from GetExpressCheckoutDetails and uses those details to create the local user account in WordPress/WooCommerce if an account is created with the site during checkout.
I'm not sure how we're handling it, though, if that data changes next time the same user checks out. For example, if they change their shipping address in their PayPal account, we need to make sure we update the local account accordingly when we get the next GetExpressCheckoutDetails response from their new order.
So basically, each time we get a GetExpressCheckoutDetails response we should compare that data with the local account, and if it's different, we should update the local account with the new data.