View Single Post
  #24  
Old 03-19-2014, 04:25 AM
 
herber@wirehub.nl herber@wirehub.nl is offline
 

eXpert
  
Join Date: Nov 2002
Posts: 305
 

Default Re: X-Cart 4.6.3: "Amazon Payments", "PayPal Access", another USPS update.

Quote:
Originally Posted by mixon
Please use the following patch and make the necessary changes to 'modules/PayPal_Login/pp_return.php' file to fix this issue:

Code:
diff --git a/modules/PayPal_Login/pp_return.php b/modules/PayPal_Login/pp_return.php index 6c9bee4..6595ab5 100644 --- a/modules/PayPal_Login/pp_return.php +++ b/modules/PayPal_Login/pp_return.php @@ -106,6 +106,15 @@ $_pplogin_address = array( 'phone' => $user->getPhoneNumber(), ); +x_load('paypal'); + +// detect state from state info returned by PayPal +$_pplogin_address['state'] = func_paypal_detect_state( + $_pplogin_address['country'], + $_pplogin_address['state'], + $_pplogin_address['zipcode'] +); + $_pplogin_check_result = func_pplogin_check_user($_pplogin_profile['payerid'], $_pplogin_profile['openid_identity']);
Is this going to get updated in the 4.6.3 package?
Reply With Quote