Below is the result object:
Checkout Page
Braintree\Result\Error Object
(
[success] =>
[_attributes:protected] => Array
(
[errors] => Braintree\Error\ErrorCollection Object
(
[_errors:Braintree\Error\ErrorCollection:private] => Braintree\Error\ValidationErrorCollection Object
(
[_errors:Braintree\Error\ValidationErrorCollection:private] => Array
(
)
[_nested:Braintree\Error\ValidationErrorCollection:private] => Array
(
[transaction] => Braintree\Error\ValidationErrorCollection Object
(
[_errors:Braintree\Error\ValidationErrorCollection:private] => Array
(
[0] => Braintree\Error\Validation Object
(
[_attribute:Braintree\Error\Validation:private] => amount
[_code:Braintree\Error\Validation:private] => 81502
[_message:Braintree\Error\Validation:private] => Amount is required.
)
[1] => Braintree\Error\Validation Object
(
[_attribute:Braintree\Error\Validation:private] => base
[_code:Braintree\Error\Validation:private] => 91508
[_message:Braintree\Error\Validation:private] => Cannot determine payment method.
)
)
[_nested:Braintree\Error\ValidationErrorCollection:private] => Array
(
[customer] => Braintree\Error\ValidationErrorCollection Object
(
[_errors:Braintree\Error\ValidationErrorCollection:private] => Array
(
)
[_nested:Braintree\Error\ValidationErrorCollection:private] => Array
(
)
[_collection:protected] => Array
(
)
)
)
[_collection:protected] => Array
(
)
)
)
[_collection:protected] => Array
(
)
)
)
[params] => Array
(
[transaction] => Array
(
[type] => sale
[amount] =>
[paymentMethodNonce] =>
[customer] => Array
(
[firstName] =>
[lastName] =>
[email] =>
)
[billing] => Array
(
[postalCode] =>
[streetAddress] =>
)
[merchantAccountId] =>
[options] => Array
(
[submitForSettlement] => true
)
)
)
[message] => Amount is required.
Cannot determine payment method.
[creditCardVerification] =>
[transaction] =>
[subscription] =>
[merchantAccount] =>
[verification] =>
)
)