Hi,
I have noticed that Ticket_Object.php on line 433 has an exception for rsvp with Not Going status however, orders that have a warning set (such as failed, refund) are accounted for as attending.
Is this logic correct?
Regardless, this behavior is causing my client to under sell as the ticket system is misrepresenting the true amount.
As a temporary measure I have patched the code to account for warnings – this is not ideal due to the fact that a refunded customer may still attend.
The patch looks like this:
if ( 'rsvp' === $attendee['provider_slug'] && 'no' === $attendee['order_status'] || isset($attendee['order_warning']) ) {
continue;
}
Would you please look at the logic and fix the ticket quantity for failed payments please?
Thank you!
-
This topic was modified 8 years, 4 months ago by
Damien.