trustly / trustly-client-php

Trustly API PHP Client implementation
MIT License
18 stars 28 forks source link

Method "getWithdrawals" of signed api provides wrong method. #15

Closed smoleniuch closed 8 months ago

smoleniuch commented 6 years ago

There is a little typos in the Trustly_Api_Signed class

public function getWithdrawals($orderid) {

    $data = array(
        'OrderID' => $orderid,
    );

    $request = new Trustly_Data_JSONRPCRequest('getWithdrawals', $data);
        // should be
    $request = new Trustly_Data_JSONRPCRequest('GetWithdrawals', $data);
    return $this->call($request);
}