Csobclient

Latest version: v0.4.1

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

Scan your dependencies

0.4.1

Added

* Python 3.11 support
* `nox` integration for tests

0.4.0

Added

* `/payment/refund`
* Validate Cart's total amount with the requested `total_amount`
* Validation for `total_amount` (> 0)

Fixed

* Use production API URL by default

Changed

* Don't allow import from the `csobclient` directly. Use `csobclient.v19` instead

0.3.0

Fixes
* Expect that the "resultCode" may be missing in the response

Changed
* `PaymentInfo` now encapsulates the whole response including `resultCode` and `resultMessage`

Added
* `PaymentInfo.raise_for_result_code` method. Works similar as `requests.raise_for_status`
* `PaymentInfo.ok` property

0.2.0

Added
* `/payment/close`
* Validation for the Cart size
* Enum for payment statuses
* Support for different RSA key access strategies

0.1.0

Added
* Basic working version

Links

Releases

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.