Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,12 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),

Check our main [developer changelog](https://developer.paddle.com/?utm_source=dx&utm_medium=paddle-python-sdk) for information about changes to the Paddle Billing platform, the Paddle API, and other developer tools.

## Unreleased

### Added

- Added support for `wechat_pay` payment method type. See [related changelog](https://developer.paddle.com/changelog/2025/wechat-pay-payment-method?utm_source=dx&utm_medium=paddle-python-sdk)

## 1.12.0 - 2025-11-12

### Added
Expand Down
1 change: 0 additions & 1 deletion examples/logger.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
from os import getenv
from paddle_billing import Client, Environment, Options


Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Latest version of Black requires these fixes (better to move with the latest version than pin to old version)

# Verify your Paddle API key was provided by a PADDLE_SECRET_API_KEY environment variable
# It is strongly advised that you do not include secrets in your source code
# Use environment variables, and/or secrets management like Vault to obtain your secrets
Expand Down
1 change: 1 addition & 0 deletions paddle_billing/Entities/Shared/PaymentMethodType.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,5 @@ class PaymentMethodType(PaddleStrEnum, metaclass=PaddleStrEnumMeta):
SouthKoreaLocalCard: "PaymentMethodType" = "south_korea_local_card"
Unknown: "PaymentMethodType" = "unknown"
Upi: "PaymentMethodType" = "upi"
WechatPay: "PaymentMethodType" = "wechat_pay"
WireTransfer: "PaymentMethodType" = "wire_transfer"
1 change: 1 addition & 0 deletions paddle_billing/Entities/Shared/SavedPaymentMethodType.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,4 @@ class SavedPaymentMethodType(PaddleStrEnum, metaclass=PaddleStrEnumMeta):
SamsungPay: "SavedPaymentMethodType" = "samsung_pay"
SouthKoreaLocalCard: "SavedPaymentMethodType" = "south_korea_local_card"
Upi: "SavedPaymentMethodType" = "upi"
WechatPay: "SavedPaymentMethodType" = "wechat_pay"
1 change: 0 additions & 1 deletion paddle_billing/Entities/Shared/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,6 @@
from paddle_billing.Entities.Shared.UnitPriceOverride import UnitPriceOverride
from paddle_billing.Entities.Shared.UnitTotals import UnitTotals


# These two cause circular imports
# from paddle_billing.Entities.Shared.TransactionDetailsPreview import TransactionDetailsPreview
# from paddle_billing.Entities.Shared.TransactionLineItemPreview import TransactionLineItemPreview
1 change: 0 additions & 1 deletion paddle_billing/Entities/Transactions/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
from paddle_billing.Entities.Transactions.TransactionCardType import TransactionCardType
from paddle_billing.Entities.Shared.TimePeriod import TimePeriod


# These cause circular imports
# from paddle_billing.Entities.Transactions.TransactionDetails import TransactionDetails
# from paddle_billing.Entities.Transactions.TransactionItem import TransactionItem
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,5 @@ class PaymentMethodType(PaddleStrEnum, metaclass=PaddleStrEnumMeta):
SouthKoreaLocalCard: "PaymentMethodType" = "south_korea_local_card"
Unknown: "PaymentMethodType" = "unknown"
Upi: "PaymentMethodType" = "upi"
WechatPay: "PaymentMethodType" = "wechat_pay"
WireTransfer: "PaymentMethodType" = "wire_transfer"
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,4 @@ class SavedPaymentMethodType(PaddleStrEnum, metaclass=PaddleStrEnumMeta):
SamsungPay: "SavedPaymentMethodType" = "samsung_pay"
SouthKoreaLocalCard: "SavedPaymentMethodType" = "south_korea_local_card"
Upi: "SavedPaymentMethodType" = "upi"
WechatPay: "SavedPaymentMethodType" = "wechat_pay"
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
from paddle_billing.Notifications.Entities.Transactions.TransactionBreakdown import TransactionBreakdown
from paddle_billing.Notifications.Entities.Transactions.TransactionCardType import TransactionCardType


# These cause circular imports
# from paddle_billing.Notifications.Entities.Transactions.TransactionDetails import TransactionDetails
# from paddle_billing.Notifications.Entities.Transactions.TransactionItem import TransactionItem
Expand Down
1 change: 0 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
from setuptools import setup, find_packages


setup(
version="1.12.0",
author="Paddle and contributors",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@

from tests.Utils.ReadsFixture import ReadsFixtures


# The notification id to use for these tests
TEST_ID = "ntf_01hher6hqs35t9dzq84g3ggqvh"

Expand Down