Accept bookings directly on your hostel website

HostelSnap is the most affordable way to accept direct bookings

HostelSnap Screenshot

This Known Issue Report is related to the View Reservations page


Hack Attempt 0

When canceling an Airbnb reservation after confirming that there were no refunds to be made for Akash (Cancellation code: 15790CSL10E), we received an error screen saying Hack Attempt 0. The cancellation went through so not sure why we received this error but just a heads up.
Sunny (Pacific Tradewinds Hostel) @ Wed, 10 May 2017 14:40:22 -0700 said:
I want this also!

Darren (HostelSnap Support) @ Wed, 10 May 2017 15:32:37 -0700 said:
@neeeeeeext Do you think this might be related to https://trello.com/c/prQ2RWFS/915-send-cancelation-email-check-not-an-option-for-seekda-cancelations ? 

I was just thinking.  If we have hourly backups, would it be possible to restore from the backup immediately before the error and reproduce the steps to cause the error again?   This would allow you the see the state of things before and after the transaction in question.

Petre (HostelSnap Support) @ Thu, 11 May 2017 01:34:55 -0700 said:
since this does not occur normally, it might be case of trying to cancel twice (either by double clicking a button at the exact perfect time or by some other way)

this is the code that sends this hack alert:

		if ( ! $transaction['reservation_code'] OR $transaction['arrival_date_ts'] < $today_ts OR $transaction['status'] == 'cancelled')
		{
			$message = 'Hack atempt 0!';
			Model_Log::instance()->add_log(58, 0, 0, $message);
			die($message);
		}


setting this to low priority