'Tests the exception path of process_postpay_callback'

def test_process_postpay_exception(self):

    baseline = {'orderNumber': '1', 'orderCurrency': 'usd', 'decision': 'ACCEPT'}
    for key in baseline:
        params = baseline.copy()
        del params[key]
        result = process_postpay_callback(params)
        self.assertFalse(result['success'])
        self.assertIsNone(result['order'])
        self.assertIn('error_msg', result['error_html'])
