Skip to content

Commit

Permalink
#v3.3.1911.0-rc - Dependency updates (#27)
Browse files Browse the repository at this point in the history
* - Invoice model update

* - PHP supported versions 7.1 upwards

* - YAML supported versions 3.0 upwards
- Config Generator updated
- Invoice model updated
  • Loading branch information
Antonio Buedo authored Nov 15, 2019
1 parent 0cc6354 commit 0c88e3b
Show file tree
Hide file tree
Showing 5 changed files with 20 additions and 20 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"guzzlehttp/guzzle": "^6.3",
"ext-json": "^1.5",
"ext-reflection": "*",
"symfony/yaml": "^4.3"
"symfony/yaml": "^3.0 || ^4.3"
},
"authors": [
{
Expand Down
14 changes: 7 additions & 7 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

18 changes: 9 additions & 9 deletions examples/ConfigGenerator.php
Original file line number Diff line number Diff line change
Expand Up @@ -204,20 +204,20 @@
"BitPayConfiguration" => [
"Environment" => $env,
"EnvConfig" => [
$env => [
"PrivateKeyPath" => $privateKeyname,
"PrivateKeySecret" => $yourMasterPassword,
'Test' => [
"PrivateKeyPath" => $isProd ? null : __DIR__."/".$privateKeyname,
"PrivateKeySecret" => $isProd ? null : $yourMasterPassword,
"ApiTokens" => [
"merchant" => $merchantToken,
"payroll" => $payrolToken,
"merchant" => $isProd ? null : $merchantToken,
"payroll" => $isProd ? null : $payrolToken,
],
],
'Prod' => [
"PrivateKeyPath" => $privateKeyname,
"PrivateKeySecret" => $yourMasterPassword,
"PrivateKeyPath" => $isProd ? __DIR__."/".$privateKeyname : null,
"PrivateKeySecret" => $isProd ? $yourMasterPassword : null,
"ApiTokens" => [
"merchant" => $merchantToken,
"payroll" => $payrolToken,
"merchant" => $isProd ? $merchantToken : null,
"payroll" => $isProd ? $payrolToken : null,
],
],
],
Expand Down
4 changes: 2 additions & 2 deletions src/BitPaySDK/Client.php
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,9 @@
* Class Client
* @package Bitpay
* @author Antonio Buedo
* @version 3.2.1911
* @version 3.3.1911
* See bitpay.com/api for more information.
* date 05.11.2019
* date 15.11.2019
*/
class Client
{
Expand Down
2 changes: 1 addition & 1 deletion src/BitPaySDK/Env.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,5 @@ interface Env
const TestUrl = "https://test.bitpay.com/";
const ProdUrl = "https://bitpay.com/";
const BitpayApiVersion = "2.0.0";
const BitpayPluginInfo = "BitPay_PHP_Client_v3.2.1911";
const BitpayPluginInfo = "BitPay_PHP_Client_v3.3.1911";
}

0 comments on commit 0c88e3b

Please sign in to comment.