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) »
  • Changing the 'Description' sent to Paypal
Pages: [1]

Author Topic: Changing the 'Description' sent to Paypal  (Read 863 times)

davesage

  • I post frequently
  • ***
  • Posts: 153
  • Karma: 3
  • CiviCRM version: 3.4 & 4.1
  • CMS version: Joomla 1.5 & 2.5
  • MySQL version: 5.1
  • PHP version: 5.3
Changing the 'Description' sent to Paypal
August 12, 2011, 05:12:03 am
Hi,

Can anyone point me in the right direction as to where I can change what is sent into Paypal as the description?

I want to add some text and the value of a custom field checkbox from a contribution so it shows up in the description text - any pointers would be welcomed!

Thanks,

Dave

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: Changing the 'Description' sent to Paypal
August 12, 2011, 07:07:15 am

http://wiki.civicrm.org/confluence/display/CRMDOC40/CiviCRM+hook+specification#CiviCRMhookspecification-hookcivicrmalterPaymentProcessorParams

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

davesage

  • I post frequently
  • ***
  • Posts: 153
  • Karma: 3
  • CiviCRM version: 3.4 & 4.1
  • CMS version: Joomla 1.5 & 2.5
  • MySQL version: 5.1
  • PHP version: 5.3
Re: Changing the 'Description' sent to Paypal
August 12, 2011, 07:18:24 am
Hi Lobo,

How did I not find that :-[

Thanks a lot!

Dave

davesage

  • I post frequently
  • ***
  • Posts: 153
  • Karma: 3
  • CiviCRM version: 3.4 & 4.1
  • CMS version: Joomla 1.5 & 2.5
  • MySQL version: 5.1
  • PHP version: 5.3
Re: Changing the 'Description' sent to Paypal
August 17, 2011, 03:52:57 am
Hi,

I've begun constructing my Joomla plugin to implement this hook but I already feel a bit out of my depth in terms of working out how to find the parameter values to do what I want. Sorry still a newb here.

Scenario is:

I want to inject some text and a custom field value (from contribution record) into the description for all transaction made from a contribution page.

How do I work out/find which $paymentObj values to test for, which params to update? Also, I suspect I need to use the API to get the custom field values but I'm just a bit lost.

Any help would be much appreciated,

I'm trying to get debugging setup locally so I can start to inspect the params any docs about how best to do this?

Cheers,

Dave

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Developer Discussion (Moderator: Donald Lobo) »
  • Changing the 'Description' sent to Paypal

This forum was archived on 2017-11-26.