Skip to content

Commit

Permalink
librairies updated
Browse files Browse the repository at this point in the history
  • Loading branch information
ClicShopping committed Apr 13, 2024
1 parent bbd5bb0 commit 49b4ade
Show file tree
Hide file tree
Showing 26 changed files with 93 additions and 72 deletions.
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,14 @@
"stymiee/email-validator": "^1.1",
"robthree/twofactorauth": "^1.8",
"openai-php/client": "^0.8.4",
"stripe/stripe-php": "^13.10",
"phpmailer/phpmailer": "^6.9",
"symfony/http-client": "^7.0",
"nyholm/psr7": "^1.8",
"guzzlehttp/guzzle": "^7.8",
"mattketmo/email-checker": "^2.3",
"phpxmlrpc/phpxmlrpc": "^4.10",
"setasign/fpdf": "^1.8"
"setasign/fpdf": "^1.8",
"stripe/stripe-php": "^14.1"
}
,
"require-dev": {
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.

14 changes: 7 additions & 7 deletions includes/ClicShopping/External/vendor/composer/installed.json
Original file line number Diff line number Diff line change
Expand Up @@ -2189,17 +2189,17 @@
},
{
"name": "stripe/stripe-php",
"version": "v13.18.0",
"version_normalized": "13.18.0.0",
"version": "v14.1.0",
"version_normalized": "14.1.0.0",
"source": {
"type": "git",
"url": "https://github.com/stripe/stripe-php.git",
"reference": "02abb043b103766f4ed920642ae56ffdc58c7467"
"reference": "b9308aea15e5cdad3d906c3bba726ff95079554c"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/stripe/stripe-php/zipball/02abb043b103766f4ed920642ae56ffdc58c7467",
"reference": "02abb043b103766f4ed920642ae56ffdc58c7467",
"url": "https://api.github.com/repos/stripe/stripe-php/zipball/b9308aea15e5cdad3d906c3bba726ff95079554c",
"reference": "b9308aea15e5cdad3d906c3bba726ff95079554c",
"shasum": ""
},
"require": {
Expand All @@ -2213,7 +2213,7 @@
"phpstan/phpstan": "^1.2",
"phpunit/phpunit": "^5.7 || ^9.0"
},
"time": "2024-04-09T21:08:04+00:00",
"time": "2024-04-11T23:07:41+00:00",
"type": "library",
"extra": {
"branch-alias": {
Expand Down Expand Up @@ -2245,7 +2245,7 @@
],
"support": {
"issues": "https://github.com/stripe/stripe-php/issues",
"source": "https://github.com/stripe/stripe-php/tree/v13.18.0"
"source": "https://github.com/stripe/stripe-php/tree/v14.1.0"
},
"install-path": "../stripe/stripe-php"
},
Expand Down
10 changes: 5 additions & 5 deletions includes/ClicShopping/External/vendor/composer/installed.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
'name' => '__root__',
'pretty_version' => 'dev-master',
'version' => 'dev-master',
'reference' => 'f3d4cb35c6ebb4183eb5f23dff9dfc66f1a747af',
'reference' => 'bbd5bb0a81b702c8be99af7516ec6da69a8748d2',
'type' => 'library',
'install_path' => __DIR__ . '/../../../../../',
'aliases' => array(),
Expand All @@ -13,7 +13,7 @@
'__root__' => array(
'pretty_version' => 'dev-master',
'version' => 'dev-master',
'reference' => 'f3d4cb35c6ebb4183eb5f23dff9dfc66f1a747af',
'reference' => 'bbd5bb0a81b702c8be99af7516ec6da69a8748d2',
'type' => 'library',
'install_path' => __DIR__ . '/../../../../../',
'aliases' => array(),
Expand Down Expand Up @@ -250,9 +250,9 @@
'dev_requirement' => false,
),
'stripe/stripe-php' => array(
'pretty_version' => 'v13.18.0',
'version' => '13.18.0.0',
'reference' => '02abb043b103766f4ed920642ae56ffdc58c7467',
'pretty_version' => 'v14.1.0',
'version' => '14.1.0.0',
'reference' => 'b9308aea15e5cdad3d906c3bba726ff95079554c',
'type' => 'library',
'install_path' => __DIR__ . '/../stripe/stripe-php',
'aliases' => array(),
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,50 @@
# Changelog

## 14.1.0 - 2024-04-11
* [#1677](https://github.com/stripe/stripe-php/pull/1677) Update generated code
* Add support for new values `billing_policy_remote_function_response_invalid`, `billing_policy_remote_function_timeout`, `billing_policy_remote_function_unexpected_status_code`, and `billing_policy_remote_function_unreachable` on enum `StripeError.code`
* Change type of `Billing.MeterEventAdjustment.cancel` from `BillingMeterResourceBillingMeterEventAdjustmentCancel` to `nullable(BillingMeterResourceBillingMeterEventAdjustmentCancel)`
* Add support for `amazon_pay` on `PaymentMethodConfiguration` and `PaymentMethod`
* Add support for new value `amazon_pay` on enum `PaymentMethod.type`
* Add support for new values `bh_vat`, `kz_bin`, `ng_tin`, and `om_vat` on enum `TaxId.type`

## 14.0.0 - 2024-04-10
* [#1673](https://github.com/stripe/stripe-php/pull/1673)

* This release changes the pinned API version to `2024-04-10`. Please read the [API Upgrade Guide](https://stripe.com/docs/upgrades#2024-04-10) and carefully review the API changes before upgrading.

### ⚠️ Breaking changes

* Rename `features` to `marketing_features` on `Product`
* Do not force resolution to IPv4 - Forcing IPv4 was causing hard-to-understand failures for users in IPv6-only environments. If you want to force IPv4 yourself, you can do so by telling the API client to use a CurlClient other than the default
```php
$curl = new \Stripe\HttpClient\CurlClient([
CURLOPT_IPRESOLVE => CURL_IPRESOLVE_V4
]);
\Stripe\ApiRequestor::setHttpClient($curl);
```

#### ⚠️ Removal of enum values, properties and events that are no longer part of the publicly documented Stripe API

* Remove the below deprecated values on the enum `BalanceTransaction.Type`
* `obligation_inbound`
* `obligation_payout`
* `obligation_payout_failure`
* `obligation_reversal_outbound`
* Remove the deprecated value `various` on the enum `Climate.Supplier.RemovalPathway`
* Remove deprecated events
* `invoiceitem.updated`
* `order.created`
* `recipient.created`
* `recipient.deleted`
* `recipient.updated`
* `sku.created`
* `sku.deleted`
* `sku.updated`
* Remove the deprecated value `service_tax` on the enum `TaxRate.TaxType`
* Remove support for `id_bank_transfer`, `multibanco`, `netbanking`, `pay_by_bank`, and `upi` on `PaymentMethodConfiguration`
* Remove the legacy field `rendering_options` in `Invoice`. Use `rendering` instead.

## 13.18.0 - 2024-04-09
* [#1675](https://github.com/stripe/stripe-php/pull/1675) Update generated code
* Add support for new resources `Entitlements.ActiveEntitlement` and `Entitlements.Feature`
Expand Down
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v938
v949
Original file line number Diff line number Diff line change
@@ -1 +1 @@
13.18.0
14.1.0
Original file line number Diff line number Diff line change
Expand Up @@ -48,12 +48,8 @@ class BalanceTransaction extends ApiResource
const TYPE_ISSUING_AUTHORIZATION_RELEASE = 'issuing_authorization_release';
const TYPE_ISSUING_DISPUTE = 'issuing_dispute';
const TYPE_ISSUING_TRANSACTION = 'issuing_transaction';
const TYPE_OBLIGATION_INBOUND = 'obligation_inbound';
const TYPE_OBLIGATION_OUTBOUND = 'obligation_outbound';
const TYPE_OBLIGATION_PAYOUT = 'obligation_payout';
const TYPE_OBLIGATION_PAYOUT_FAILURE = 'obligation_payout_failure';
const TYPE_OBLIGATION_REVERSAL_INBOUND = 'obligation_reversal_inbound';
const TYPE_OBLIGATION_REVERSAL_OUTBOUND = 'obligation_reversal_outbound';
const TYPE_PAYMENT = 'payment';
const TYPE_PAYMENT_FAILURE_REFUND = 'payment_failure_refund';
const TYPE_PAYMENT_NETWORK_RESERVE_HOLD = 'payment_network_reserve_hold';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
namespace Stripe\Billing;

/**
* A billing meter is a resource that allows you to track usage of a particular event. For example, you might create a billing meter to track the number of API calls made by a particular user. You can then use the billing meter to charge the user for the number of API calls they make.
* A billing meter is a resource that allows you to track usage of a particular event. For example, you might create a billing meter to track the number of API calls made by a particular user. You can then attach the billing meter to a price and attach the price to a subscription to charge the user for the number of API calls they make.
*
* @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.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,14 @@
namespace Stripe\Billing;

/**
* A billing meter event adjustment represents the status of a meter event adjustment.
* A billing meter event adjustment is a resource that allows you to cancel a meter event. For example, you might create a billing meter event adjustment to cancel a meter event that was created in error or attached to the wrong customer.
*
* @property string $object String representing the object's type. Objects of the same type share the same value.
* @property \Stripe\StripeObject $cancel
* @property null|\Stripe\StripeObject $cancel Specifies which event to cancel.
* @property string $event_name The name of the meter event. Corresponds with the <code>event_name</code> field on a meter.
* @property bool $livemode Has the value <code>true</code> if the object exists in live mode or the value <code>false</code> if the object exists in test mode.
* @property string $status The meter event adjustment's status.
* @property string $type Specifies whether to cancel a single event or a range of events for a time period.
* @property string $type Specifies whether to cancel a single event or a range of events for a time period. Time period cancellation is not supported yet.
*/
class MeterEventAdjustment extends \Stripe\ApiResource
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
* @property null|\Stripe\StripeObject $flow Information about a specific flow for the customer to go through. See the <a href="https://stripe.com/docs/customer-management/portal-deep-links">docs</a> to learn more about using customer portal deep links and flows.
* @property bool $livemode Has the value <code>true</code> if the object exists in live mode or the value <code>false</code> if the object exists in test mode.
* @property null|string $locale The IETF language tag of the locale Customer Portal is displayed in. If blank or auto, the customer’s <code>preferred_locales</code> or browser’s locale is used.
* @property null|string $on_behalf_of The account for which the session was created on behalf of. When specified, only subscriptions and invoices with this <code>on_behalf_of</code> account appear in the portal. For more information, see the <a href="https://stripe.com/docs/connect/separate-charges-and-transfers#on-behalf-of">docs</a>. Use the <a href="https://stripe.com/docs/api/accounts/object#account_object-settings-branding">Accounts API</a> to modify the <code>on_behalf_of</code> account's branding settings, which the portal displays.
* @property null|string $on_behalf_of The account for which the session was created on behalf of. When specified, only subscriptions and invoices with this <code>on_behalf_of</code> account appear in the portal. For more information, see the <a href="https://stripe.com/docs/connect/separate-charges-and-transfers#settlement-merchant">docs</a>. Use the <a href="https://stripe.com/docs/api/accounts/object#account_object-settings-branding">Accounts API</a> to modify the <code>on_behalf_of</code> account's branding settings, which the portal displays.
* @property null|string $return_url The URL to redirect customers to when they click on the portal's link to return to your website.
* @property string $url The short-lived URL of the session that gives customers access to the customer portal.
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@
* @property int $amount_captured Amount in cents (or local equivalent) captured (can be less than the amount attribute on the charge if a partial capture was made).
* @property int $amount_refunded Amount in cents (or local equivalent) refunded (can be less than the amount attribute on the charge if a partial refund was issued).
* @property null|string|\Stripe\Application $application ID of the Connect application that created the charge.
* @property null|string|\Stripe\ApplicationFee $application_fee The application fee (if any) for the charge. <a href="https://stripe.com/docs/connect/direct-charges#collecting-fees">See the Connect documentation</a> for details.
* @property null|int $application_fee_amount The amount of the application fee (if any) requested for the charge. <a href="https://stripe.com/docs/connect/direct-charges#collecting-fees">See the Connect documentation</a> for details.
* @property null|string|\Stripe\ApplicationFee $application_fee The application fee (if any) for the charge. <a href="https://stripe.com/docs/connect/direct-charges#collect-fees">See the Connect documentation</a> for details.
* @property null|int $application_fee_amount The amount of the application fee (if any) requested for the charge. <a href="https://stripe.com/docs/connect/direct-charges#collect-fees">See the Connect documentation</a> for details.
* @property null|string $authorization_code Authorization code on the charge.
* @property null|string|\Stripe\BalanceTransaction $balance_transaction ID of the balance transaction that describes the impact of this charge on your account balance (not including refunds or disputes).
* @property \Stripe\StripeObject $billing_details
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,5 +25,4 @@ class Supplier extends \Stripe\ApiResource
const REMOVAL_PATHWAY_BIOMASS_CARBON_REMOVAL_AND_STORAGE = 'biomass_carbon_removal_and_storage';
const REMOVAL_PATHWAY_DIRECT_AIR_CAPTURE = 'direct_air_capture';
const REMOVAL_PATHWAY_ENHANCED_WEATHERING = 'enhanced_weathering';
const REMOVAL_PATHWAY_VARIOUS = 'various';
}
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,10 @@ class ErrorObject extends StripeObject
const CODE_BANK_ACCOUNT_UNVERIFIED = 'bank_account_unverified';
const CODE_BANK_ACCOUNT_VERIFICATION_FAILED = 'bank_account_verification_failed';
const CODE_BILLING_INVALID_MANDATE = 'billing_invalid_mandate';
const CODE_BILLING_POLICY_REMOTE_FUNCTION_RESPONSE_INVALID = 'billing_policy_remote_function_response_invalid';
const CODE_BILLING_POLICY_REMOTE_FUNCTION_TIMEOUT = 'billing_policy_remote_function_timeout';
const CODE_BILLING_POLICY_REMOTE_FUNCTION_UNEXPECTED_STATUS_CODE = 'billing_policy_remote_function_unexpected_status_code';
const CODE_BILLING_POLICY_REMOTE_FUNCTION_UNREACHABLE = 'billing_policy_remote_function_unreachable';
const CODE_BITCOIN_UPGRADE_REQUIRED = 'bitcoin_upgrade_required';
const CODE_CAPTURE_CHARGE_AUTHORIZATION_EXPIRED = 'capture_charge_authorization_expired';
const CODE_CAPTURE_UNAUTHORIZED_PAYMENT = 'capture_unauthorized_payment';
Expand Down
Loading

0 comments on commit 49b4ade

Please sign in to comment.