Thank you for the great library!
I have found 2 problems while using the BankTransactions module
-
Changed returnvalue of function
public function match($id, $data, $params = [])
{
$data = $this->client->post($this->getUrl() . '/uncategorized/' . $id . '/match', $data, $params);
// Joop: 1-10-2024 Changed returnvalue to $data, it was $data['transactions_to_be_matched'], which doesn't exist
return $data;
}
-
Added function:
// Joop. 29-09-2024. Otherwise banktransaction_id would be used
public function getApiKeyName()
{
return "transaction_id";
}
All the best
Joop
Thank you for the great library!
I have found 2 problems while using the BankTransactions module
Changed returnvalue of function
public function match($id, $data, $params = [])
{
$data = $this->client->post($this->getUrl() . '/uncategorized/' . $id . '/match', $data, $params);
// Joop: 1-10-2024 Changed returnvalue to $data, it was $data['transactions_to_be_matched'], which doesn't exist
return $data;
}
Added function:
// Joop. 29-09-2024. Otherwise banktransaction_id would be used
public function getApiKeyName()
{
return "transaction_id";
}
All the best
Joop