All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
- Python 3.11 support
nox
integration for tests
/payment/refund
- Validate Cart's total amount with the requested
total_amount
- Validation for
total_amount
(> 0)
- Use production API URL by default
- Don't allow import from the
csobclient
directly. Usecsobclient.v19
instead
- Expect that the "resultCode" may be missing in the response
PaymentInfo
now encapsulates the whole response includingresultCode
andresultMessage
PaymentInfo.raise_for_result_code
method. Works similar asrequests.raise_for_status
PaymentInfo.ok
property
/payment/close
- Validation for the Cart size
- Enum for payment statuses
- Support for different RSA key access strategies
- Basic working version