Skip to content

Commit a1c6a0f

Browse files
Release 4.7.0 (#251)
This release adds comprehensive support for Cash App Pay in the payment setups API and enhances the handling and serialization of customer device and identification fields. It updates the public API documentation, adds new integration and serialization tests, and ensures that the new fields are correctly processed and echoed by the API. **Cash App Pay support:** * Added support for Cash App Pay in payment setups, including serialization/deserialization of `payment_methods.cashapp`, its actions, and customer profiles. Includes tests for request/response structure and round-trip serialization. [[1]](diffhunk://#diff-5bdcebebdadb850273aa827a21c49fd911c212081d7b9d4be546514be3e6ee63L12-R13) [[2]](diffhunk://#diff-db8fb47b73bf9e8a66d65143747eb397f8ffafdb3c349a72d4de0cbba30eea8aR26-R28) [[3]](diffhunk://#diff-db8fb47b73bf9e8a66d65143747eb397f8ffafdb3c349a72d4de0cbba30eea8aR604-R935) * Added integration and unit tests to verify Cash App Pay setup, confirmation, and the handling of Cash App–specific fields and actions. [[1]](diffhunk://#diff-5bdcebebdadb850273aa827a21c49fd911c212081d7b9d4be546514be3e6ee63R141-R212) [[2]](diffhunk://#diff-8dc85ab9bd9b55855ee255c0f9d6973ec71c95d32c86d6afcb060f559aebbf57R40-R45) [[3]](diffhunk://#diff-db8fb47b73bf9e8a66d65143747eb397f8ffafdb3c349a72d4de0cbba30eea8aR604-R935) **Customer device and identification fields:** * Added support for new `customer.device` fields (`fingerprint`, `ipv4`, `ipv6`, `client`, `os`) and ensured they are accepted and echoed by the API. Also added tests for these fields. [[1]](diffhunk://#diff-5bdcebebdadb850273aa827a21c49fd911c212081d7b9d4be546514be3e6ee63R141-R212) [[2]](diffhunk://#diff-db8fb47b73bf9e8a66d65143747eb397f8ffafdb3c349a72d4de0cbba30eea8aR604-R935) * Added support for `customer.id`, `customer.country`, and `customer.tax_number`, with tests to verify round-trip serialization and correct field mapping. [[1]](diffhunk://#diff-5bdcebebdadb850273aa827a21c49fd911c212081d7b9d4be546514be3e6ee63R141-R212) [[2]](diffhunk://#diff-db8fb47b73bf9e8a66d65143747eb397f8ffafdb3c349a72d4de0cbba30eea8aR604-R935) **API documentation improvements:** * Enhanced docstrings for the `create_payment_setup`, `update_payment_setup`, `get_payment_setup`, and `confirm_payment_setup` methods in `setups_client.py` to clarify usage, arguments, and Cash App Pay–specific behavior. [[1]](diffhunk://#diff-1055014a30d41e3fa4c0f404fb9c2df895469331ede12fefa0c7cc835b445163L21-R29) [[2]](diffhunk://#diff-1055014a30d41e3fa4c0f404fb9c2df895469331ede12fefa0c7cc835b445163L31-R44) [[3]](diffhunk://#diff-1055014a30d41e3fa4c0f404fb9c2df895469331ede12fefa0c7cc835b445163L41-R76) These changes ensure robust support for Cash App Pay and new customer fields, with thorough test coverage and improved documentation for API consumers.
1 parent 254652a commit a1c6a0f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎checkout_sdk/properties.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
VERSION = "4.6.0"
1+
VERSION = "4.7.0"

0 commit comments

Comments
 (0)