Allow orders to be canceled

* Pulled in some code that we were missing from 2-2-stable for order cancellations to work properly.
* Capture the gateway response when a payment is canceled and update the payment's state