diff --git a/data/OpenpayApiResourceBase.php b/data/OpenpayApiResourceBase.php index 545ae26..53b41ba 100644 --- a/data/OpenpayApiResourceBase.php +++ b/data/OpenpayApiResourceBase.php @@ -313,7 +313,7 @@ protected function _update() { protected function _updateCharge($params) { if (count($params)) { - $response = OpenpayApiConnector::request('put', $this->getResourceUrl(), $params); + $response = OpenpayApiConnector::request('put', $this->getUrl(), $params); return $this->refreshData($response); } } @@ -390,4 +390,4 @@ public function __get($key) { } -?> \ No newline at end of file +?>