See also the Transaction response object.

PHP
Copy
Copied
$transaction = $gateway->transaction()->find('the_transaction_id');
This code snippet now uses gateway instance methods instead of class-level methods. Learn more.

If the transaction can't be found, you'll receive a Braintree_Exception_NotFound exception.

Escrow status on Braintree Marketplace transactions

Use the transaction's id to find the escrowStatus on Braintree Marketplace transactions:

PHP
Copy
Copied
$transaction = $gateway->transaction()->find("the_transaction_id");
$transaction->escrowStatus;
// "held"
This code snippet now uses gateway instance methods instead of class-level methods. Learn more.
Arguments
transactionId required, string

The unique transaction identifier.

Still have questions?

If you can’t find an answer, contact our Support team