Support

Home Forums Event Espresso Premium Loss of data when updating the attendee

Loss of data when updating the attendee

Posted: September 26, 2013 at 10:10 am

Viewing 4 reply threads


Marco Genovese

September 26, 2013 at 10:10 am

The whole process works well: from registration to payment with Paypal.

However, when, from the administration panel, I try to update the record of a participant by clicking the ‘update record’ button, some data is lost.
And when I click the button ‘Update Price’, the payment status changes from ‘Completed’ to ‘Refund’

I am attaching a screenshot so you understand better what I mean

Please, can you tell me why this occurs?


Sidney Harrell

September 26, 2013 at 11:25 am

The change to refund status is because the cost per participant is at 195 when the amount already paid is 400. I couldn’t reproduce this. When I load up that screen, it is populating the cost per participant with the correct amount. However, I was able to reproduce the second problem, where the cost per participant is getting set to 0.00 when you hit update record. To fix it, go to line 810 of includes/admin-reports/edit_attendee_record.php and change it to:

if(selectValue == 'DEFAULT'){
						jQuery('#members_price_selection').hide();
						var standard_SelectValue = jQuery('select#price_option-<?php echo $event_id ?> option:selected').val();
						jQuery('#new_price_option-<?php echo $event_id ?>').val(standard_SelectValue);
						jQuery('select#price_option-<?php echo $event_id ?>').bind('change', function() {
							var new_standard_SelectValue = jQuery('select#price_option-<?php echo $event_id ?> option:selected').val();
							jQuery('#new_price_option-<?php echo $event_id ?>').val(new_standard_SelectValue);
						});	
					}else{
						jQuery('#standard_price_selection').hide();
						var member_SelectValue = jQuery('select#members_price_option-<?php echo $event_id ?> option:selected').val();
						jQuery('#new_price_option-<?php echo $event_id ?>').val(member_SelectValue);
						jQuery('select#members_price_option-<?php echo $event_id ?>').bind('change', function() {
						var new_member_SelectValue = jQuery('select#members_price_option-<?php echo $event_id ?> option:selected').val();
							jQuery('#new_price_option-<?php echo $event_id ?>').val(new_member_SelectValue);
						});
					}


Marco Genovese

September 27, 2013 at 12:00 pm

Hi Sidney,
thank you very much for the reply.
I have fixed the file edit_attendee_record.php as you suggested and now it works.

But regarding the refund status is something I do not understand.
For example, let’s say that the Primary attendee buys an event for himself and for other 2 users and pays $400.00.

When the administrator click on the button “Update price” for the Primary Attendee, the total amount due and the total amount paid should remain set at $400.00 rather than being set at the original price of the ticket.

In fact, by setting the amounts as the original price of the ticket, when I export the invoice, its content is wrong. At the item “Amount due”, it appears that the user still has to pay money. But in reality the Primary attendee has already paid the full amount.

Maybe is there something I’m missing?


Sidney Harrell

September 27, 2013 at 4:16 pm

I see your point. I’ve done some testing and it looks like if you use the “update price” on the additional attendee, it doesn’t affect the amount paid/owed on either attendee. We’ll have to look into reworking the way that the interface works. In the meantime, I would advise using it knowing that the relationship between the UI and the backend. When you change the ticket on the left and hit “update record” it changes the type of ticket purchased, but does not affect the price owed/paid. When you change the amount on the right (ignore the num of tickets dropdown) and hit “update price” it will update the “total amount owing”. If the new amount is more than the amount paid, it will show the attendee as owing money. If the new amount is less than the amount paid, it will show the attendee as being owed a refund.


Marco Genovese

September 28, 2013 at 9:21 am

Ok Sidney. Thanks a lot!
For now I solved the problem by hiding the button “Update price”
It is not the best solution but for now may be fine as well

I mark this topic as solved.
And I’m going to opening a new topic because I have other questions to ask.

Thanks again

Viewing 4 reply threads

The support post ‘Loss of data when updating the attendee’ 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