Closed David-Kurniawan closed 2 years ago
Got the critical issue when we use GET method and pass the query parameters. query do not pass in guzzle side coz default library process the params to transform into json. But in GET method, we need to transform params into query not json.
eg is:
$params = [ 'types' => 'DISBURSEMENT' ]; $transactions = \Xendit\Transaction::list(array $params);
the params is not working cos Transaction::list using GET method and params tranform into json not into query
Transaction::list
@xen-HendryZheng can help me to review this PR
Need to solving this critical issue ASAP
Thanks
Got the critical issue when we use GET method and pass the query parameters. query do not pass in guzzle side coz default library process the params to transform into json. But in GET method, we need to transform params into query not json.
eg is:
the params is not working cos
Transaction::list
using GET method and params tranform into json not into query