Replies: 2 comments
-
Hello @edson-k! Even though it returns a private array, you can access its values by indexing the result: $customers = MercadoPago\Customer::search([
"email" => "[email protected]"
]);
print_r($customers[0]);
echo "ID: " . $customers[0]->id; |
Beta Was this translation helpful? Give feedback.
0 replies
-
Thank you! @lucmantovani |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
MercadoPago\Customer::search(array('email' => '[email protected]'))
because it returns me a private array and I didn't find the method to get this return.
"storage": "Arrayobject": Private
Beta Was this translation helpful? Give feedback.
All reactions