Kryptronic Software Support Forum

You are viewing this forum as a guest. Login to an existing account, or create a new account, to reply to topics and to create new topics.

#1 02-22-2013 18:02:41

sppars
Member
Registered: 01-25-2006
Posts: 301

PayPal Express Phone Number

Just realized in version 8 if a customer uses PayPal Express at checkout the phone number is not passed through to CCP like it was in CCP 6. It looks like the problem was  for CCP 7 too. If anyone else must have the phone number the solution below seems to be working:

In /apps/ecom/ECOM_OLP/ext/paypalproe.php:

After

Code:

$info  = $result['GetExpressCheckoutDetailsResponse.0']['GetExpressCheckoutDetailsResponseDetails.0']['PayerInfo.0'];

Add

Code:

$payerphone  = $result['GetExpressCheckoutDetailsResponse.0']['GetExpressCheckoutDetailsResponseDetails.0']['ContactPhone.0'];

$this->CORE_Session->sessvalues('phone',preg_replace('/[^\d]/','',$payerphone));

Offline

 

#2 02-25-2013 06:01:51

zanart
Member
From: bedford
Registered: 04-02-2008
Posts: 1706

Re: PayPal Express Phone Number

You also need to activate the phone number as a required field in your Paypal account.
Profile > My Selling Preferences > Website preferences


Rob

Offline

 

#3 02-25-2013 08:17:04

lgt
Member
Registered: 11-21-2010
Posts: 272
Website

Re: PayPal Express Phone Number

Works like a charm!

Thanks a lot.









Offline

 

Board footer