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:
johnnyq
2026-05-04 12:32:12 -04:00
parent a6d996b83f
commit 0cdb780b88
159 changed files with 281 additions and 908 deletions

View File

@@ -5,9 +5,6 @@
[![Total Downloads](https://poser.pugx.org/stripe/stripe-php/downloads.svg)](https://packagist.org/packages/stripe/stripe-php)
[![License](https://poser.pugx.org/stripe/stripe-php/license.svg)](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 arent available in the SDKs.
This might happen when theyre undocumented or when theyre in preview and you arent using a preview SDK.
This might happen when theyre undocumented or when theyre in preview and you arent 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