diff --git a/composer.lock b/composer.lock index 43b7fe5773d7cd46716efedfd4d6b38e671070b3..874424367e9d10312aaa8c180c5da4b7dc309b6f 100644 --- a/composer.lock +++ b/composer.lock @@ -8,16 +8,16 @@ "packages": [ { "name": "stripe/stripe-php", - "version": "v7.47.0", + "version": "v7.49.0", "source": { "type": "git", "url": "https://github.com/stripe/stripe-php.git", - "reference": "b51656cb398d081fcee53a76f6edb8fd5c1a5306" + "reference": "db6229bff448f7f3bf7f6aee112d5d9ba34ca4ba" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/stripe/stripe-php/zipball/b51656cb398d081fcee53a76f6edb8fd5c1a5306", - "reference": "b51656cb398d081fcee53a76f6edb8fd5c1a5306", + "url": "https://api.github.com/repos/stripe/stripe-php/zipball/db6229bff448f7f3bf7f6aee112d5d9ba34ca4ba", + "reference": "db6229bff448f7f3bf7f6aee112d5d9ba34ca4ba", "shasum": "" }, "require": { @@ -61,7 +61,7 @@ "payment processing", "stripe" ], - "time": "2020-08-13T22:35:56+00:00" + "time": "2020-08-19T22:48:20+00:00" } ], "packages-dev": [], diff --git a/vendor/composer/installed.json b/vendor/composer/installed.json index 172443e98e87d66cc18ae91a1ae882cfda10a27d..7c379f17fbe5388f68868d2fd484fae48c81dad8 100644 --- a/vendor/composer/installed.json +++ b/vendor/composer/installed.json @@ -1,17 +1,17 @@ [ { "name": "stripe/stripe-php", - "version": "v7.47.0", - "version_normalized": "7.47.0.0", + "version": "v7.49.0", + "version_normalized": "7.49.0.0", "source": { "type": "git", "url": "https://github.com/stripe/stripe-php.git", - "reference": "b51656cb398d081fcee53a76f6edb8fd5c1a5306" + "reference": "db6229bff448f7f3bf7f6aee112d5d9ba34ca4ba" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/stripe/stripe-php/zipball/b51656cb398d081fcee53a76f6edb8fd5c1a5306", - "reference": "b51656cb398d081fcee53a76f6edb8fd5c1a5306", + "url": "https://api.github.com/repos/stripe/stripe-php/zipball/db6229bff448f7f3bf7f6aee112d5d9ba34ca4ba", + "reference": "db6229bff448f7f3bf7f6aee112d5d9ba34ca4ba", "shasum": "" }, "require": { @@ -27,7 +27,7 @@ "squizlabs/php_codesniffer": "^3.3", "symfony/process": "~3.4" }, - "time": "2020-08-13T22:35:56+00:00", + "time": "2020-08-19T22:48:20+00:00", "type": "library", "extra": { "branch-alias": { diff --git a/vendor/stripe/stripe-php/CHANGELOG.md b/vendor/stripe/stripe-php/CHANGELOG.md index 78e9a5c02ab49c58f554a0fff82daef8ed459eb6..dc065f3a4fd57da5125a07c9f5238eddaf146fe9 100644 --- a/vendor/stripe/stripe-php/CHANGELOG.md +++ b/vendor/stripe/stripe-php/CHANGELOG.md @@ -1,5 +1,12 @@ # Changelog +## 7.49.0 - 2020-08-19 +* [#998](https://github.com/stripe/stripe-php/pull/998) PHPDocs updated + +## 7.48.0 - 2020-08-17 +* [#997](https://github.com/stripe/stripe-php/pull/997) PHPDocs updated +* [#996](https://github.com/stripe/stripe-php/pull/996) Fixing telemetry + ## 7.47.0 - 2020-08-13 * [#994](https://github.com/stripe/stripe-php/pull/994) Nullable balance_transactions on issuing disputes * [#991](https://github.com/stripe/stripe-php/pull/991) Fix invalid return types in OAuthService diff --git a/vendor/stripe/stripe-php/VERSION b/vendor/stripe/stripe-php/VERSION index 3e8b8db15edfcacb1fc8fdf674b2b0c62c2043aa..747e38088ab7a5a1919a39a684dafcd3e54b6522 100644 --- a/vendor/stripe/stripe-php/VERSION +++ b/vendor/stripe/stripe-php/VERSION @@ -1 +1 @@ -7.47.0 +7.49.0 diff --git a/vendor/stripe/stripe-php/lib/ApiRequestor.php b/vendor/stripe/stripe-php/lib/ApiRequestor.php index d587b8020ef0d9af8e9660e8ef8088344470e637..0328112b8552e31cd5365df4ff70c85070ac839b 100644 --- a/vendor/stripe/stripe-php/lib/ApiRequestor.php +++ b/vendor/stripe/stripe-php/lib/ApiRequestor.php @@ -377,9 +377,11 @@ class ApiRequestor $hasFile ); - if (isset($rheaders['request-id'], $rheaders['request-id'][0])) { + if (isset($rheaders['request-id']) + && \is_string($rheaders['request-id']) + && \strlen($rheaders['request-id']) > 0) { self::$requestTelemetry = new RequestTelemetry( - $rheaders['request-id'][0], + $rheaders['request-id'], Util\Util::currentTimeMillis() - $requestStartMs ); } diff --git a/vendor/stripe/stripe-php/lib/Customer.php b/vendor/stripe/stripe-php/lib/Customer.php index 3bef3fae00567a4a5204aa886373b96277b4e435..89fbae02e54ffa6cfa71f176a63411c196472c74 100644 --- a/vendor/stripe/stripe-php/lib/Customer.php +++ b/vendor/stripe/stripe-php/lib/Customer.php @@ -34,10 +34,10 @@ namespace Stripe; * @property null|string $phone The customer's phone number. * @property null|string[] $preferred_locales The customer's preferred locales (languages), ordered by preference. * @property null|\Stripe\StripeObject $shipping Mailing and shipping address for the customer. Appears on invoices emailed to this customer. - * @property \Stripe\Collection $sources The customer's payment sources, if any. + * @property null|\Stripe\Collection $sources The customer's payment sources, if any. * @property null|\Stripe\Collection $subscriptions The customer's current subscriptions, if any. * @property null|string $tax_exempt Describes the customer's tax exemption status. One of <code>none</code>, <code>exempt</code>, or <code>reverse</code>. When set to <code>reverse</code>, invoice and receipt PDFs include the text <strong>"Reverse charge"</strong>. - * @property \Stripe\Collection $tax_ids The customer's tax IDs. + * @property null|\Stripe\Collection $tax_ids The customer's tax IDs. */ class Customer extends ApiResource { diff --git a/vendor/stripe/stripe-php/lib/File.php b/vendor/stripe/stripe-php/lib/File.php index 8138641def40f3cd6b18a3eff265e6e50cdcce5e..d73bed84218a3dc9dde89ba08b0e8123bb45b1fe 100644 --- a/vendor/stripe/stripe-php/lib/File.php +++ b/vendor/stripe/stripe-php/lib/File.php @@ -18,6 +18,7 @@ namespace Stripe; * @property string $id Unique identifier for the object. * @property string $object String representing the object's type. Objects of the same type share the same value. * @property int $created Time at which the object was created. Measured in seconds since the Unix epoch. + * @property null|int $expires_at The time at which the file expires and is no longer available in epoch seconds. * @property null|string $filename A filename for the file, suitable for saving to a filesystem. * @property null|\Stripe\Collection $links A list of <a href="https://stripe.com/docs/api#file_links">file links</a> that point at this file. * @property string $purpose The <a href="https://stripe.com/docs/file-upload#uploading-a-file">purpose</a> of the uploaded file. diff --git a/vendor/stripe/stripe-php/lib/Issuing/Authorization.php b/vendor/stripe/stripe-php/lib/Issuing/Authorization.php index a4269396b61bf169ee8d3a34f7a514fd28509fdc..22e8127553e81331378836708fb245149799b03a 100644 --- a/vendor/stripe/stripe-php/lib/Issuing/Authorization.php +++ b/vendor/stripe/stripe-php/lib/Issuing/Authorization.php @@ -17,6 +17,7 @@ namespace Stripe\Issuing; * @property string $id Unique identifier for the object. * @property string $object String representing the object's type. Objects of the same type share the same value. * @property int $amount The total amount that was authorized or rejected. This amount is in the card's currency and in the <a href="https://stripe.com/docs/currencies#zero-decimal">smallest currency unit</a>. + * @property null|\Stripe\StripeObject $amount_details Detailed breakdown of amount components. These amounts are denominated in <code>currency</code> and in the <a href="https://stripe.com/docs/currencies#zero-decimal">smallest currency unit</a>. * @property bool $approved Whether the authorization has been approved. * @property string $authorization_method How the card details were provided. * @property \Stripe\BalanceTransaction[] $balance_transactions List of balance transactions associated with this authorization. diff --git a/vendor/stripe/stripe-php/lib/Issuing/Transaction.php b/vendor/stripe/stripe-php/lib/Issuing/Transaction.php index 2e8c8d55d5cd39ecd6b25359cb13c0a963a2c4dc..43df4d0f9383a98569d971a2d6901133f1fb449a 100644 --- a/vendor/stripe/stripe-php/lib/Issuing/Transaction.php +++ b/vendor/stripe/stripe-php/lib/Issuing/Transaction.php @@ -17,6 +17,7 @@ namespace Stripe\Issuing; * @property string $id Unique identifier for the object. * @property string $object String representing the object's type. Objects of the same type share the same value. * @property int $amount The transaction amount, which will be reflected in your balance. This amount is in your currency and in the <a href="https://stripe.com/docs/currencies#zero-decimal">smallest currency unit</a>. + * @property null|\Stripe\StripeObject $amount_details Detailed breakdown of amount components. These amounts are denominated in <code>currency</code> and in the <a href="https://stripe.com/docs/currencies#zero-decimal">smallest currency unit</a>. * @property null|string|\Stripe\Issuing\Authorization $authorization The <code>Authorization</code> object that led to this transaction. * @property null|string|\Stripe\BalanceTransaction $balance_transaction ID of the <a href="https://stripe.com/docs/api/balance_transactions">balance transaction</a> associated with this transaction. * @property string|\Stripe\Issuing\Card $card The card used to make this transaction. diff --git a/vendor/stripe/stripe-php/lib/Stripe.php b/vendor/stripe/stripe-php/lib/Stripe.php index 44067749df27312cdff84745ac64e0be23c22d16..02d372d9ae74dc6c859a79af95c2211c4965a76b 100644 --- a/vendor/stripe/stripe-php/lib/Stripe.php +++ b/vendor/stripe/stripe-php/lib/Stripe.php @@ -58,7 +58,7 @@ class Stripe /** @var float Initial delay between retries, in seconds */ private static $initialNetworkRetryDelay = 0.5; - const VERSION = '7.47.0'; + const VERSION = '7.49.0'; /** * @return string the API key used for requests