Support

Home Forums Event Espresso Premium Product number for PayPal

Product number for PayPal

Posted: January 15, 2013 at 5:40 am


Daniel Riou

January 15, 2013 at 5:40 am

Hi,
the registration process for my event went live a few days ago and everything seems to be fine right now. That is great. However, since we now offer multiple events with different prices dans discount, I would need to properly identify transactions in the paypal account. How can I do this? Is there any way to edit the product title to anything else than shopping cart? Or attributing a number to each product? Thanks,
Daniel Riou


Josh

  • Support Staff

January 17, 2013 at 9:03 am

Hi Daniel,

When you view the details in the PayPal account, it does display the item as the event name + Price type under the shopping cart contents:

screenshot of the item information in the PayPal transaction details

Also, there is a unique transaction ID # that will be in the details of the transaction in the PayPal account and in the payment details in the Event Espresso admin.

screenshot (top half Event Espresso admin, lower half PayPal account transaction details)


Daniel Riou

January 19, 2013 at 9:58 pm

Ok, but the best for me would be to be able to add a product number, so that I can sort the registrations by product number in the «transaction’s historic» (don’t know the right word in english).
Any clue?


Josh

  • Support Staff

January 22, 2013 at 9:03 am

Hi Daniel,

It sounds like you want to add an Item ID. This will require some modifications to the paypal_vars.php file in the PayPal gateway.

In this example, we’ll use the event_ID as the item ID. First we’ll add the event ID to the SQL query (line 25) :

$SQL = "SELECT a.final_price, a.orig_price, a.quantity, ed.id, ed.event_name, a.price_option, a.fname, a.lname ";

Then we’ll add the new field (line 38, just below the quantity field) :

$myPaypal->addField('item_number_' . $item_num, $item->id);

Then when you download a CSV of the transactions history in your PayPal account history, you’ll want to check the box that says “Include Shopping cart details”


Daniel Riou

January 24, 2013 at 9:25 am

That worked very well. Thanks for those good instructions, much appreciated!

The support post ‘Product number for PayPal’ is closed to new replies.

Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.

Event Espresso