diff --git a/Midtrans/ApiRequestor.php b/Midtrans/ApiRequestor.php index d6f2a14..7957188 100644 --- a/Midtrans/ApiRequestor.php +++ b/Midtrans/ApiRequestor.php @@ -98,7 +98,7 @@ public static function remoteCall($url, $server_key, $data_hash, $method) CURLOPT_HTTPHEADER => array( 'Content-Type: application/json', 'Accept: application/json', - 'User-Agent: midtrans-php-v2.5.2', + 'User-Agent: midtrans-php-v2.6.0', 'Authorization: Basic ' . base64_encode($server_key . ':') ), CURLOPT_RETURNTRANSFER => 1 diff --git a/composer.json b/composer.json index 252b1af..cf27a3e 100644 --- a/composer.json +++ b/composer.json @@ -2,7 +2,7 @@ "name": "midtrans/midtrans-php", "description": "PHP Wrapper for Midtrans Payment API.", "homepage": "https://midtrans.com", - "version": "2.5.2", + "version": "2.6.0", "type": "library", "license":"MIT", "authors": [