./finance/py-stripe, Stripe python bindings

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 4.2.0, Package name: py310-stripe-4.2.0, Maintainer: pkgsrc-users

Stripe python bindings. Stripe is a set of unified APIs and tools that
instantly enable businesses to accept and manage online payments.


Required to run:
[devel/py-setuptools] [devel/py-requests] [lang/python37]

Required to build:
[pkgtools/cwrappers]

Master sites:

Filesize: 261.307 KB

Version history: (Expand)


CVS history: (Expand)


   2023-06-06 14:42:56 by Taylor R Campbell | Files touched by this commit (1319)
Log message:
Mass-change BUILD_DEPENDS to TOOL_DEPENDS outside mk/.

Almost all uses, if not all of them, are wrong, according to the
semantics of BUILD_DEPENDS (packages built for target available for
use _by_ tools at build-time) and TOOL_DEPEPNDS (packages built for
host available for use _as_ tools at build-time).

No change to BUILD_DEPENDS as used correctly inside buildlink3.

As proposed on tech-pkg:
https://mail-index.netbsd.org/tech-pkg/2023/06/03/msg027632.html
   2022-10-13 10:49:12 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-stripe: updated to 4.2.0

4.2.0 - 2022-09-23
* API Updates
  * Add `upcoming_lines` method to the `Invoice` resource.
  * Update links in documentation to be absolute.
* Add abstract methods for SearchableAPIResource
   2022-08-22 08:50:21 by Adam Ciarcinski | Files touched by this commit (3) | Package updated
Log message:
py-stripe: updated to 4.1.0

4.1.0 - 2022-08-19
* API Updates
  * Add support for new resource `CustomerCashBalanceTransaction`
* Add a support section to the readme
* Fix test TestCharge.test_is_saveable().
   2022-08-19 15:30:17 by Adam Ciarcinski | Files touched by this commit (3) | Package updated
Log message:
py-stripe: updated to 4.0.2

4.0.2 - 2022-08-03
* Fix issue where auto_paging_iter failed on nested list objects.

4.0.1 - 2022-08-02
* Fix incorrect handling of additional request parameters
  * Fixes issue where using special parameter like `api_key`, `idempotency_key`, \ 
`stripe_version`, `stripe_account`, `headers` can cause a `Received unknown \ 
parameter error`.

4.0.0 - 2022-08-02

Breaking changes that arose during code generation of the library that we \ 
postponed for the next major version. For changes to the SDK, read more detailed \ 
description at \ 
https://github.com/stripe/stripe-python/wiki/Migration-guide-for-v4. For changes \ 
to the Stripe products, read more at \ 
https://stripe.com/docs/upgrades#2022-08-01.

"⚠️" symbol highlights breaking changes.

* API Updates
* Next major release changes
* API Updates. Add Price.create tests.
* API Updates. Use auto-generation for credit_note and invoice methods.

⚠️ Removed
- Removed deprecated `AlipayAccount`, `BitcoinReceiver`, `BitcoinTransaction`, \ 
`IssuerFraudRecord`, `Recipient`, `RecipientTransfer`, and  `ThreeDSecure` \ 
classes.
- Removed deprecated `Charge.update_dispute` and `Charge.close_dispute` methods \ 
that were using legacy REST API endpoint. Prefer \ 
[Dispute.modify](https://stripe.com/docs/api/disputes/update?lang=python) and \ 
[Dispute.close](https://stripe.com/docs/api/disputes/close?lang=python)
- Removed deprecated `Card.details` method and `CardDetails` resource. The REST \ 
API endpoint is not longer supported.
- Removed the deprecated `Source.source_transactions` method. Prefer \ 
`SubscriptionItem.list_source_transactions`
- Removed the deprecated `SubscriptionItem.usage_record_summaries` method. \ 
Prefer `SubscriptionItem.list_usage_record_summaries`
- Removed the deprecated `Charge.refund` method. Prefer \ 
[Refund.create](https://stripe.com/docs/api/refunds/create)

⚠️ Changed
- To be consistent with other resource methods, `ApplicationFee.refund` returns \ 
an instance of `ApplicationFee` and doesn't mutate the instance of \ 
`ApplicationFee`.
- To be consistent with other resource methods, the `Customer.delete_discount` \ 
no longer resets the `discount` property to `None` and returns the deleted \ 
discount instead. If you were relying on this behavior, reset the discount \ 
property manually:
- The `LineItem` resource now inherits from `StripeObject` as it has no methods \ 
of it's own.
- To be consistent with other resource methods, the \ 
`Subscription.delete_discount` returns an instance of deleted discount and \ 
doesn't mutate the instance of `Subscription`.
- Update the CA certificate bundle.
- Request sending logic unified across standard and custom methods \ 
(https://github.com/stripe/stripe-python/pull/832)
   2022-07-08 16:32:11 by Thomas Klausner | Files touched by this commit (3) | Package updated
Log message:
py-stripe: update to 3.5.0.

## 3.5.0 - 2022-06-30
* [#831](https://github.com/stripe/stripe-python/pull/831) API Updates
  * Add support for `deliver_card`, `fail_card`, `return_card`, and `ship_card` \ 
test helper methods on resource `Issuing.Card`
  * Switch from using `instance_url` to computing method path in place for \ 
custom methods.
  * Switch from using explicit class methods for test helpers instead of using \ 
meta-programming.

## 3.4.0 - 2022-06-17
* [#824](https://github.com/stripe/stripe-python/pull/824) API Updates
  * Add support for `fund_cash_balance` test helper method on resource `Customer`
* [#823](https://github.com/stripe/stripe-python/pull/823) Trigger workflows on \ 
beta branches

## 3.3.0 - 2022-06-08
* [#818](https://github.com/stripe/stripe-python/pull/818) fix: Update cash \ 
balance methods to no longer require nested ID.

## 3.2.0 - 2022-05-23
* [#812](https://github.com/stripe/stripe-python/pull/812) API Updates
  * Add support for new resource `Apps.Secret`

## 3.1.0 - 2022-05-19
* [#810](https://github.com/stripe/stripe-python/pull/810) API Updates
  * Add support for new resources `Treasury.CreditReversal`, \ 
`Treasury.DebitReversal`, `Treasury.FinancialAccountFeatures`, \ 
`Treasury.FinancialAccount`, `Treasury.FlowDetails`, `Treasury.InboundTransfer`, \ 
`Treasury.OutboundPayment`, `Treasury.OutboundTransfer`, \ 
`Treasury.ReceivedCredit`, `Treasury.ReceivedDebit`, \ 
`Treasury.TransactionEntry`, and `Treasury.Transaction`
  * Add support for `retrieve_payment_method` method on resource `Customer`
  * Add support for `list_owners` and `list` methods on resource \ 
`FinancialConnections.Account`
* [#719](https://github.com/stripe/stripe-python/pull/719) Set daemon attribute \ 
instead of using setDaemon method that was deprecated in Python 3.10
* [#767](https://github.com/stripe/stripe-python/pull/767) Bump vendored six to \ 
1.16.0
* [#806](https://github.com/stripe/stripe-python/pull/806) Start testing on pypy-3.8
* [#811](https://github.com/stripe/stripe-python/pull/811) Add sanitize_id method

## 3.0.0 - 2022-05-09
* [#809](https://github.com/stripe/stripe-python/pull/809) Release of major \ 
version v3.0.0. The [migration \ 
guide](https://github.com/stripe/stripe-python/wiki/Migration-Guide-for-v3) \ 
contains more information.
  (⚠️ = breaking changes):
  * ⚠️ Replace the legacy `Order` API with the new `Order` API.
    * New methods: `cancel`, `list_line_items`, `reopen`, and `submit`
    * Removed methods: `pay` and `return_order`
    * Removed resources: `OrderItem` and `OrderReturn`
  * ⚠️ Rename `financial_connections.account.refresh` to \ 
`financial_connections.refresh_account`
  * Add support for `amount_discount`, `amount_tax`, and `product` on `LineItem`

## 2.76.0 - 2022-05-05
* [#808](https://github.com/stripe/stripe-python/pull/808) API Updates
  * Add support for new resources `FinancialConnections.AccountOwner`, \ 
`FinancialConnections.AccountOwnership`, `FinancialConnections.Account`, and \ 
`FinancialConnections.Session`

## 2.75.0 - 2022-05-03
* [#805](https://github.com/stripe/stripe-python/pull/805) API Updates
  * Add support for new resource `CashBalance`
   2022-04-24 19:11:31 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-stripe: updated to 2.74.0

2.74.0
* API Updates
  * Add support for `expire` test helper method on resource `Refund`
   2022-04-21 09:54:15 by Adam Ciarcinski | Files touched by this commit (3) | Package updated
Log message:
py-stripe: updated to 2.73.0

2.73.0 - 2022-04-18
* API Updates
  * Add support for new resources `FundingInstructions` and `Terminal.Configuration`
   2022-04-18 12:59:58 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-stripe: updated to 2.72.0

2.72.0
API Updates
- Add support for increment_authorization method on resource PaymentIntent