status === \Alexr\Enums\VoucherStatus::ACTIVE ) { $voucher->sendIssuedEmails(); } } catch ( \Throwable $e ) { // Never break the payment return / webhook because of an email problem. if ( function_exists( 'error_log' ) ) { error_log( 'Alex Reservations gift voucher emails: ' . $e->getMessage() ); } } }