Stripe

Latest version: v9.5.0

Safety actively analyzes 625178 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 5 of 50

7.8.2

* [1168](https://github.com/stripe/stripe-python/pull/1168) Do not raise a DeprecationWarning in `stripe.app_info`

7.8.1

* [1159](https://github.com/stripe/stripe-python/pull/1159) Fix __getattr__ to raise AttributeError rather than returning None. This fixes a regression in 7.8.0 that caused `stripe.checkout`/`stripe.issuing` etc. to return `None`.
* [1157](https://github.com/stripe/stripe-python/pull/1157) Add missing explicit reexport for `OAuth`, `Webhook`, `WebhookSignature`

7.8.0

* [1155](https://github.com/stripe/stripe-python/pull/1155) Update generated code
* Add support for `payment_details`, `payments`, and `payouts` on `AccountSession.components` and `CreateParams.components`
* Add support for `features` on `AccountSession.components.account_onboarding` and `CreateParams.components.account_onboarding`
* Add support for new values `customer_tax_location_invalid` and `financial_connections_no_successful_transaction_refresh` on enums `Invoice.last_finalization_error.code`, `PaymentIntent.last_payment_error.code`, `SetupAttempt.setup_error.code`, `SetupIntent.last_setup_error.code`, and `StripeError.code`
* Add support for new values `payment_network_reserve_hold` and `payment_network_reserve_release` on enum `BalanceTransaction.type`
* Change `Climate.Product.metric_tons_available` to be required
* Remove support for value `various` from enum `Climate.Supplier.removal_pathway`
* Remove support for values `challenge_only` and `challenge` from enum `PaymentIntent.payment_method_options.card.request_three_d_secure`
* Add support for `inactive_message` and `restrictions` on `CreateParams`, `ModifyParams`, and `PaymentLink`
* Add support for `transfer_group` on `PaymentLink.payment_intent_data`, `CreateParams.payment_intent_data`, and `ModifyParams.payment_intent_data`
* Add support for `trial_settings` on `PaymentLink.subscription_data`, `CreateParams.subscription_data`, and `ModifyParams.subscription_data`
* [1153](https://github.com/stripe/stripe-python/pull/1153) Move exports for more modules
- `stripe.app_info`, `stripe.http_client`, `stripe.oauth`, `stripe.util`, `stripe.version`, `stripe.webhook`, modules are deprecated. All types are available directly from `stripe` module now.
Before:
python
from stripe.util import convert_to_stripe_object
or
stripe.util.convert_to_stripe_object
`
After:
python
from stripe import convert_to_stripe_object
or
stripe.convert_to_stripe_object

- `stripe.api_version`, `stripe.multipart_data_generator`, `stripe.request_metrics` are deprecated and will be fully removed in the future.
* [1142](https://github.com/stripe/stripe-python/pull/1142) Move resource type exports to stripe.___
- `stripe.error`, `stripe.stripe_object`, `stripe.api_requestor`, `stripe.stripe_response`, `stripe.request_options`, `stripe.api_resources.*`, `stripe.api_resources.abstract.*` modules are deprecated. All types are available directly from `stripe` module now.
Before:
python
from stripe.error import APIError
or
stripe.error.APIError
`
After:
python
from stripe import APIError
or
stripe.APIError

7.7.0

* [1147](https://github.com/stripe/stripe-python/pull/1147) Update generated code
* Add support for new resources `Climate.Order`, `Climate.Product`, and `Climate.Supplier`
* Add support for `cancel`, `create`, `list`, `modify`, and `retrieve` methods on resource `Order`
* Add support for `list` and `retrieve` methods on resources `Product` and `Supplier`
* Add support for new value `financial_connections_account_inactive` on enums `Invoice.LastFinalizationError.code`, `PaymentIntent.LastPaymentError.code`, `SetupAttempt.SetupError.code`, and `SetupIntent.LastSetupError.code`
* Add support for new values `climate_order_purchase` and `climate_order_refund` on enum `BalanceTransaction.type`
* Add support for `created` on `Checkout.Session.ListParams`
* Add support for `validate_location` on `Customer.CreateParamsTax` and `Customer.ModifyParamsTax`
* Add support for new values `climate.order.canceled`, `climate.order.created`, `climate.order.delayed`, `climate.order.delivered`, `climate.order.product_substituted`, `climate.product.created`, and `climate.product.pricing_updated` on enum `Event.type`
* Add support for new value `challenge` on enums `PaymentIntent. PaymentMethodOptions.Card.request_three_d_secure` and `SetupIntent. PaymentMethodOptions.Card.request_three_d_secure`
* Add support for new values `climate_order_purchase` and `climate_order_refund` on enum `Reporting.ReportRun. CreateParamsParameters.reporting_category`
* Add support for new values `climate.order.canceled`, `climate.order.created`, `climate.order.delayed`, `climate.order.delivered`, `climate.order.product_substituted`, `climate.product.created`, and `climate.product.pricing_updated` on enums `WebhookEndpoint.CreateParams.enabled_events[]` and `WebhookEndpoint.ModifyParams.enabled_events[]`
* [1145](https://github.com/stripe/stripe-python/pull/1145) Refactor integration test

7.6.0

* [1138](https://github.com/stripe/stripe-python/pull/1138) Update generated code
* Add support for `electronic_commerce_indicator` on resource classes `Charge.PaymentMethodDetails.Card.ThreeDSecure` and `SetupAttempt.PaymentMethodDetails.Card.ThreeDSecure`
* Add support for `exemption_indicator` on resource class `Charge.PaymentMethodDetails.Card.ThreeDSecure`
* Add support for `transaction_id` on resource classes `Charge.PaymentMethodDetails.Card.ThreeDSecure`, `SetupAttempt.PaymentMethodDetails.Card.ThreeDSecure`, `issuing.Authorization.NetworkData`, and `issuing.Transaction.NetworkData`
* Add support for `offline` on resource class `Charge.PaymentMethodDetails.CardPresent`
* Add support for `transferred_to_balance` on resource `CustomerCashBalanceTransaction`
* Add support for `three_d_secure` on parameter classes `PaymentIntent.ConfirmParamsPaymentMethodOptionsCard`, `PaymentIntent.CreateParamsPaymentMethodOptionsCard`, `PaymentIntent.ModifyParamsPaymentMethodOptionsCard`, `SetupIntent.ConfirmParamsPaymentMethodOptionsCard`, `SetupIntent.CreateParamsPaymentMethodOptionsCard`, and `SetupIntent.ModifyParamsPaymentMethodOptionsCard`
* Add support for `system_trace_audit_number` on resource class `issuing.Authorization.NetworkData`
* Add support for `network_risk_score` on resource classes `issuing.Authorization.PendingRequest` and `issuing.Authorization.RequestHistory`
* Add support for `requested_at` on resource class `issuing.Authorization.RequestHistory`
* Add support for `authorization_code` on resource class `issuing.Transaction.NetworkData`

7.5.0

* [1127](https://github.com/stripe/stripe-python/pull/1127) Update generated code
* Add support for `bacs_debit_payments` on `Account.CreateParamsSettings`
* Add support for `service_user_number` on `Account.Settings.BacsDebitPayments`
* Add support for `capture_before` on `Charge.PaymentMethodDetails.Card.capture_before`
* Add support for `Paypal` on `Checkout.Session.PaymentMethodOptions`
* Add support for `tax_amounts` on `CreditNote.CreateParamsLine`, `CreditNote.PreviewParamsLine`, and `CreditNote.PreviewLinesParamsLine`
* Add support for `network_data` on `Issuing.Transaction`
* Add support for `status` on `Checkout.Session.ListParams`
* [1135](https://github.com/stripe/stripe-python/pull/1135) Add initial tests for exports and run them in mypy and pyright
* [1130](https://github.com/stripe/stripe-python/pull/1130) Mention types in README.md
* [1134](https://github.com/stripe/stripe-python/pull/1134) Run pyright via tox
* [1131](https://github.com/stripe/stripe-python/pull/1131) Upgrade black dependency
* [1132](https://github.com/stripe/stripe-python/pull/1132) Fix unnecessary casts from pyright 1.1.336
* [1126](https://github.com/stripe/stripe-python/pull/1126) Suppress type errors from latest pyright
* [1125](https://github.com/stripe/stripe-python/pull/1125) Add support for Python 3.11/3.12
* [1123](https://github.com/stripe/stripe-python/pull/1123) Move to python3 venv and update vscode settings

Page 5 of 50

Links

Releases

Has known vulnerabilities

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.