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) »
  • Support »
  • Using CiviCRM »
  • Using CiviEvent (Moderator: Yashodha Chaku) »
  • EventID - PayPal Pro
Pages: [1]

Author Topic: EventID - PayPal Pro  (Read 2175 times)

robeal

  • Guest
EventID - PayPal Pro
November 12, 2009, 09:12:24 am
We'd like to pass the Event Name from a CiviEvent to PayPal Pro so we can track event revenue from PayPal. When you download the detailed transactions as .csv on PayPal Website Payments Pro, there are Event Name and Event ID fields, however they are blank right now. Any help populating those fields or insight into tracking individual event revenue via PayPal greatly appreciated.


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: EventID - PayPal Pro
November 12, 2009, 11:59:01 am

we send in the event title in the description field:

here is one of our details:

Item Title:   Online Event Registration: CiviCRM User Training - New York

i'm not sure what/where paypal gets the eventID / event Name stuff. i'm pretty sure we dont populate it. if you want that information, you might want to use the new hook introduced by Rob: alterPaymentProcessorParams

its not currently documented here: http://wiki.civicrm.org/confluence/display/CRMDOC/CiviCRM+hook+specification, which we should address and fix soon

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

robeal

  • Guest
Re: EventID - PayPal Pro
November 24, 2009, 09:04:24 am
The fields are actually named item id and item description in Paypal.

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: EventID - PayPal Pro
November 24, 2009, 11:25:02 am

u can use this hook to populate and send the payment params to paypal:

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

if you do so, please publish your hook code 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

sethneal

  • Guest
Re: EventID - PayPal Pro
December 02, 2009, 01:24:12 pm
Quote from: Donald Lobo on November 12, 2009, 11:59:01 am

we send in the event title in the description field:

here is one of our details:

Item Title:   Online Event Registration: CiviCRM User Training - New York

i'm not sure what/where paypal gets the eventID / event Name stuff. i'm pretty sure we dont populate it. if you want that information, you might want to use the new hook introduced by Rob: alterPaymentProcessorParams

its not currently documented here: http://wiki.civicrm.org/confluence/display/CRMDOC/CiviCRM+hook+specification, which we should address and fix soon

lobo

OK, I want to be able to do this as well. Lobo, when you say "we send in the event title in the description field" do you mean here?

http://www.sethneal.com/sandbox/event.png

Because that didn't work for me.

I need to, in any way possible, indicate in PayPal the different events that are being registered for!

As robeal pointed out, PayPal has itemID and itemDescription which seem to be interchangeable. Right now, through civiEvent it sends an itemID but I want it to send a description.

Thanks,

Seth.
« Last Edit: December 02, 2009, 01:44:29 pm by sethneal »

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: EventID - PayPal Pro
December 02, 2009, 04:43:13 pm

i meant we send the CiviCRM event title to paypal in the paypal description field

if you want itemID / itemDescription you will need to implement it via the hook mentioned above

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

sethneal

  • Guest
Re: EventID - PayPal Pro
December 03, 2009, 12:17:01 pm
Hi Lobo,

Thanks for your help.

Do you mean the description field here?

http://www.sethneal.com/sandbox/event2.png

If so, where in PayPal does this show up?

Also, you mentioned something about a "hook" etc, etc. to get things to show up in the EventID. I looked at the page linked but that is beyond what I can do, however, I would be willing to pay someone to do it for me if it solved this problem!! Can you recommend someone?

Thanks,

Seth.

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: EventID - PayPal Pro
December 03, 2009, 12:52:16 pm

http://civicrm.org/professional/

Web Access should be able to do the job

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) »
  • Support »
  • Using CiviCRM »
  • Using CiviEvent (Moderator: Yashodha Chaku) »
  • EventID - PayPal Pro

This forum was archived on 2017-11-26.