mirror of
https://github.com/itflow-org/itflow
synced 2026-05-05 18:57:47 +00:00
Stripe Payment: Rollback stipe-php from 20.0.0 back to 19.4.1 to fix a isses with adding saved paymentss, Stripe updated their API in which we will update to a later date
This commit is contained in:
@@ -5,9 +5,6 @@
|
||||
[](https://packagist.org/packages/stripe/stripe-php)
|
||||
[](https://packagist.org/packages/stripe/stripe-php)
|
||||
|
||||
> [!TIP]
|
||||
> Want to chat live with Stripe engineers? Join us on our [Discord server](https://stripe.com/go/discord/php).
|
||||
|
||||
The Stripe PHP library provides convenient access to the Stripe API from
|
||||
applications written in the PHP language. It includes a pre-defined set of
|
||||
classes for API resources that initialize themselves dynamically from API
|
||||
@@ -16,9 +13,9 @@ API.
|
||||
|
||||
## Requirements
|
||||
|
||||
PHP 7.2.0 and later.
|
||||
PHP 5.6.0 and later.
|
||||
|
||||
Note that per our [language version support policy](https://docs.stripe.com/sdks/versioning?lang=php#stripe-sdk-language-version-support-policy), support for PHP 7.2 and 7.3 will be removed soon, so upgrade your runtime if you're able to.
|
||||
Note that per our [language version support policy](https://docs.stripe.com/sdks/versioning?lang=php#stripe-sdk-language-version-support-policy), support for PHP 5.6, 7.0, and 7.1 will be removed in the March 2026 major version.
|
||||
|
||||
Additional PHP versions will be dropped in future major versions, so upgrade to supported versions if possible.
|
||||
|
||||
@@ -48,9 +45,9 @@ require_once '/path/to/stripe-php/init.php';
|
||||
|
||||
The bindings require the following extensions in order to work properly:
|
||||
|
||||
- [`curl`](https://secure.php.net/manual/en/book.curl.php), although you can use your own non-cURL client if you prefer
|
||||
- [`json`](https://secure.php.net/manual/en/book.json.php)
|
||||
- [`mbstring`](https://secure.php.net/manual/en/book.mbstring.php) (Multibyte String)
|
||||
- [`curl`](https://secure.php.net/manual/en/book.curl.php), although you can use your own non-cURL client if you prefer
|
||||
- [`json`](https://secure.php.net/manual/en/book.json.php)
|
||||
- [`mbstring`](https://secure.php.net/manual/en/book.mbstring.php) (Multibyte String)
|
||||
|
||||
If you use Composer, these dependencies should be handled automatically. If you install manually, you'll want to make sure that these extensions are available.
|
||||
|
||||
@@ -209,7 +206,7 @@ You can disable this behavior if you prefer:
|
||||
### How to use undocumented parameters and properties
|
||||
|
||||
In some cases, you might encounter parameters on an API request or fields on an API response that aren’t available in the SDKs.
|
||||
This might happen when they’re undocumented or when they’re in preview and you aren’t using a preview SDK.
|
||||
This might happen when they’re undocumented or when they’re in preview and you aren’t using a preview SDK.
|
||||
See [undocumented params and properties](https://docs.stripe.com/sdks/server-side?lang=php#undocumented-params-and-fields) to send those parameters or access those fields.
|
||||
|
||||
### Public Preview SDKs
|
||||
|
||||
Reference in New Issue
Block a user