WordPress.org

Ready to get started?Download WordPress

Forums

WP Event Ticketing
Item "Event Name: Registration" in PayPal no matter what the (3 posts)

  1. peterliu47
    Member
    Posted 2 years ago #

    The item in PayPal reads "Event Name: Registration" no matter what the actual Package is named, so we can't tell which package was bought. Am I missing something in the setup?

    http://wordpress.org/extend/plugins/wpeventticketing/

  2. kayceedub
    Member
    Posted 2 years ago #

    I ran into that same problem and found a partial fix in the settings section > email messages. There's an event name field there. What you put in there replaces the "Event Name" part of the text in PayPal but it still reads "Registration".

  3. meramirpur
    Member
    Posted 1 year ago #

    Here is the Solution

    Find the Code Below on Line 2458 in ticketing.php file of plugin

    foreach ($item as $k => $i)
    					{
    						//$nvp['L_PAYMENTREQUEST_0_NAME' . $k] = $i["name"];
    						$nvp['L_PAYMENTREQUEST_0_NAME' . $k] = $o["messages"]["messageEventName"] . ": Registration";
    						$nvp['L_PAYMENTREQUEST_0_DESC' . $k] = substr($i["desc"],0,127);
    						$nvp['L_PAYMENTREQUEST_0_AMT' . $k] = $i["price"];
    						$nvp['L_PAYMENTREQUEST_0_QTY' . $k] = $i["quantity"];
    					}

    remove the comment from 1st line and add comment to 2nd. Code will become like this.

    foreach ($item as $k => $i)
    					{
    						$nvp['L_PAYMENTREQUEST_0_NAME' . $k] = $i["name"];
    						//$nvp['L_PAYMENTREQUEST_0_NAME' . $k] = $o["messages"]["messageEventName"] . ": Registration";
    						$nvp['L_PAYMENTREQUEST_0_DESC' . $k] = substr($i["desc"],0,127);
    						$nvp['L_PAYMENTREQUEST_0_AMT' . $k] = $i["price"];
    						$nvp['L_PAYMENTREQUEST_0_QTY' . $k] = $i["quantity"];
    					}

    SAVE your work.

    Now When Tickets/Packages are Purchased, Name of Package Along with Description will be displayed.

    Get Rid of Default "Event Name: Registration"

    ENJOY:

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.