Open bsatoris opened 1 month ago
I haven't made any changes to my Braintree implementation for several months and I started experiencing this error roughly 2 days ago.
I'm wondering if a recent change to POST /transactions
is causing this? I'm not immediately seeing anything in the changelog though.
General information
Issue description
When calling
$result->toString()
on aBraintree\Result\Error
object, a PHP warning "Array to string conversion" is thrown. The issue may be caused by the presence of an array within the_attributes
property, perhapsinternationalPhoneNumber=Array
– which I see in the output of$result->toString()
.Here is edited/redacted output of
$result->toString()
:Steps to Reproduce:
Braintree\Result\Error
object.$result->toString()
on theBraintree\Result\Error
object.