I'm having the same problem as many other users as I could read, the search for external_reference
of payments, does not work.
Suppose:
$filters = array(
"external_reference" => 'reterenciaX'
);
$searchResult = $mp->search_payment($filters,0,10);
Returns:
array(2) {
["status"]=> int(200),
["response"]=> array(2) {
["paging"]=> array(3) {
["total"]=> int(0),
["limit"]=> int(10),
["offset"]=> int(0)
},
["results"]=> array(0) { }
}
}
The external_reference that I pass as a parameter is 100% sure that it exists, and as you can see in the example I'm explicitly passed the offset
and limit
, which gave problems in some cases if you did not pass the method search_payment
, but in this case, passing it or not, it does not work.
It is worth clarifying that the payments are by basic checkout.
Has anyone been able to solve this problem in any way?