Created
September 27, 2012 00:34
-
-
Save SecurityForUs/3791490 to your computer and use it in GitHub Desktop.
bah
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
try{ | |
$trans = $mp->debits->query()->filter(Balanced\Debit::$f->transaction_number->eq($_POST['id']))->one(); | |
//} catch(Balanced\Exceptions\HTTPError $e){ | |
// die(json_encode(array("error" => "No transaction found."))); | |
} catch(Balanced\Exceptions\MultipleResultsFound $e){ | |
print_r($e);die; | |
//die(json_encode(array("error" => "No transaction found."))); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment