WordPress.org

Support

Support » Plugins and Hacks » [Plugin: WP Event Ticketing] Item "Event Name: Registration" in PayPal no matter what the

[Plugin: WP Event Ticketing] Item "Event Name: Registration" in PayPal no matter what the

Viewing 2 replies - 1 through 2 (of 2 total)
  • 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”.

    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:

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Plugin: WP Event Ticketing] Item "Event Name: Registration" in PayPal no matter what the’ is closed to new replies.