Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the pue-sales domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the better-click-to-tweet domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the pue-amazon domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the pue-stats domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the wordpress-seo domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114
Cash payment | Event Espresso - Staging Server

Support

Home Forums Event Espresso Premium Cash payment

Cash payment

Posted: April 23, 2014 at 2:38 am

Viewing 1 reply thread


Kristiina Lempiainen

April 23, 2014 at 2:38 am

Hi!

I’d need to make it easy for a movie theatre to sell tickets at the door using Event Espresso (version 3 at the moment). I have been testing Check/Money order payment setting for cash payments and the problem is that these payments end up with status “pending” which you must separately go to change to complete. This isn’t very quick and easy; do you have any suggestions how to do this easily?

If you add attendees manually in admin, you must enter the payment amount also manually. So if someone buys many tickets at once the final amount to pay isn’t calculated automaticly; that’s why this doesn’t work for this either.

Thanks in advance!


Dean

  • Support Staff

April 23, 2014 at 5:48 am

Hi,

There really isn’t another way to do it. Unless a payment is made via an online payment processor, the attendees will be marked as incomplete or pending.

As such it’s then an admin process to change them over.

However, you could look at the available filter hooks. In this instance: http://staging.eventespresso.com/wiki/event-espresso-3-1-filters/#filter_hook_espresso_update_attendee_payment_data_in_db

Then you could create a small custom function that will check if they are paying by the cheque gateway and if so, change the status to completed.

Something like this:

function dean_change_status($payment_data) {
	
	//DEBUG
	//var_dump($payment_data);
	//wp_die( );

	if($payment_data['txn_details'] == "paying by check") {
	    $payment_data['payment_status'] = "Completed";
	    return $payment_data;
	}
	else {
	    return $payment_data;
	}
}

add_filter('filter_hook_espresso_update_attendee_payment_data_in_db','dean_change_status');
Viewing 1 reply thread

The support post ‘Cash payment’ 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 - Staging Server