CiviCRM Community Forums (archive)

*

News:

Have a question about CiviCRM?
Get it answered quickly at the new
CiviCRM Stack Exchange Q+A site

This forum was archived on 25 November 2017. Learn more.
How to get involved.
What to do if you think you've found a bug.



  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Developer Discussion (Moderator: Donald Lobo) »
  • PayPal Integration - passing phone number
Pages: [1]

Author Topic: PayPal Integration - passing phone number  (Read 667 times)

cnasal

  • I’m new here
  • *
  • Posts: 1
  • Karma: 0
  • CiviCRM version: 3.4
  • CMS version: Drupal 6.22
  • MySQL version: 5.0.51a
  • PHP version: 5.2.4
PayPal Integration - passing phone number
October 10, 2011, 12:11:38 pm
With PayPal Standard integration with CiviCRM, if I add the name and address to a Contribute form or Event, that information gets passed to PayPal.  However, the phone number does not.  Looking through the code briefly, it does not seem that CiviCRM passes this data along.  If that's correct, I think the best way to fix that would be override the PHP files to make the change to pass the phone number through.  Is that correct?

Thanks for any thoughts or tips you may have.

Thanks!
Carl

Donald Lobo

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 15963
  • Karma: 470
    • CiviCRM site
  • CiviCRM version: 4.2+
  • CMS version: Drupal 7, Joomla 2.5+
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: PayPal Integration - passing phone number
October 10, 2011, 03:33:06 pm

CRM/Core/Payment/PayPalImpl.php, function doTransferCheckout

u might want to find functions that call it and send in the phone number also

if you do make the  needed changes, please file an issue and attach the patch. We'll add it to core so others can benefit :)

lobo
A new CiviCRM Q&A resource needs YOUR help to get started. Visit our StackExchange proposed site, sign up and vote on 5 questions

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Developer Discussion (Moderator: Donald Lobo) »
  • PayPal Integration - passing phone number

This forum was archived on 2017-11-26.