Skip to content

Tags: processout/processout-python

Tags

v9.0.1

Toggle v9.0.1's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
fix: Remove non required fields (#30)

Fixes fields marked as required were removed.

---------

Co-authored-by: ProcessOut Fountain <internal@processout.com>

v9.0.0

Toggle v9.0.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
feat(python-sdk): Add riskified as supported external fraud tool; rem…

…oves unused endpoints. (#29)

This PR has been automatically generated. Please review it and merge it
if everything is fine.

> [!CAUTION]
> This is a BREAKING CHANGE.
> As a result, the SDK removes support for several deprecated endpoints
and related resources. Code using these endpoints will need to be
updated.

This change adds support for the `riskified` external fraud tool and
removes unused endpoints:

<details><summary>

### 1. Add `riskified` attribute to InvoiceExternalFraudTools

</summary>

This change adds support for the `riskified` external fraud tool
attribute in the `InvoiceExternalFraudTools` class, following the same
pattern as existing fraud tool attributes (`forter`, `ravelin`,
`signifyd`).

The implementation includes:
* Initialization of `_riskified` attribute in `__init__`
* Property getter and setter methods for `riskified`
* Support for `riskified` in `fill_with_data()` method
* Inclusion of `riskified` in `to_json()` serialization

</details>

<details><summary>

### 2. Remove non-existent endpoints and related resources

</summary>

The following endpoints and their associated resources have been removed
as they are no longer supported by the API:

* `/activities` - `Activity` class and `new_activity()` method
* `/coupons` - `Coupon` class and `new_coupon()` method
* `/customers/:id/subscriptions` - `Customer.fetch_subscriptions()`
method and `subscriptions` attribute
* `/discounts` - `Discount` class
* `/plans` - `Plan` class and `new_plan()` method
* `/subscriptions` - `Subscription` class, `new_subscription()` method,
and related subscription attributes from `Transaction` and `Customer`
* `/addons` - `Addon` class and `new_addon()` method
* Supervised projects endpoints - Removed from `Project` class

**Files removed:**
* `processout/activity.py`
* `processout/addon.py`
* `processout/coupon.py`
* `processout/discount.py`
* `processout/plan.py`
* `processout/subscription.py`

**Files modified:**
* `processout/client.py` - Removed factory methods for deleted resources
* `processout/customer.py` - Removed `subscriptions` attribute and
`fetch_subscriptions()` method
* `processout/transaction.py` - Removed `subscription` and
`subscription_id` attributes
* `processout/__init__.py` - Removed imports for deleted classes
* `processout/project.py` - Removed supervised projects endpoints

</details>

<details><summary>

### 3. Additional changes

</summary>

This release also includes various other updates:
* Added `preferred_card_type` to `CardCreateRequest` and
`CardUpdateRequest`
* Added `vault_id` to `Customer` and `Token`
* Added `threeds_sdk` and `platform` to `Device`
* Added `origin` to `Transaction`
* Added `capture_type` to `TransactionOperation`
* Added `split_payments` to `UnsupportedFeatureBypass`
* Updated version to `9.0.0`

</details>

BREAKING CHANGE: Removal of `subscriptions`, `activity`, `addon`,
`coupon`, `discount`, `plan`, in customer, transaction and , projects
endpoints.

Co-authored-by: ProcessOut Fountain <internal@processout.com>

v8.0.0

Toggle v8.0.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
BREAKING CHANGE: add response object emptiness check (#26)

Co-authored-by: ProcessOut Fountain <internal@processout.com>

BREAKING CHANGE:

v7.4.1

Toggle v7.4.1's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
BREAKING CHANGE: add response object emptiness check (#26)

Co-authored-by: ProcessOut Fountain <internal@processout.com>

BREAKING CHANGE:

v7.4.0

Toggle v7.4.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
feat: add customer and invoice reference_id; add balances customer ac…

…tion (#24)

Co-authored-by: ProcessOut Fountain <internal@processout.com>

v7.3.0

Toggle v7.3.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
feat: Update library (#23)

Co-authored-by: ProcessOut Fountain <internal@processout.com>

v7.2.0

Toggle v7.2.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Merge pull request #22 from processout/feat/add-new-operation-error-m…

…essage-field-and-latest-changes

feat: add-new-operation-error-message-field

v7.1.0

Toggle v7.1.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
feat: Add custom action structure to the create token flow (#20)

Co-authored-by: ProcessOut Fountain <internal@processout.com>

v7.0.0

Toggle v7.0.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
BREAKING CHANGE: breaking: change response types for invoices-authori…

…ze, invoices-capture, invoices-native-payment; breaking: create/update card; add invoice expiry; add invoice qr_code; add invoice delete; add project public metadata; add hosted payment page support (#19)

Co-authored-by: ProcessOut Fountain <internal@processout.com>

v6.35.0

Toggle v6.35.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Merge pull request #17 from processout/feat/add-auto-capture-at-contr…

…ol-via-backend

feat: add auto_capture_at field within the invoice object