Skip to content

Commit 8800133

Browse files
Add wechat pay support (#208)
* feat: Add 'wechat_pay' to payment method types * chore: Update CHANGELOG to include 'wechat_pay' payment method support
1 parent 262bd9d commit 8800133

File tree

4 files changed

+13
-2
lines changed

4 files changed

+13
-2
lines changed

CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,14 @@ in a response, this weakens the Typescript type but does not cause existing usag
2020
This means when upgrading minor versions of the SDK, you may notice type errors. You can safely ignore these or fix by
2121
adding additional type guards.
2222

23+
## Unreleased
24+
25+
### Added
26+
27+
- Added support for `wechat_pay` payment method.
28+
29+
---
30+
2331
## 3.5.0 - 2025-12-16
2432

2533
### Added

src/enums/payment-method/type.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,4 +22,5 @@ export type SavedPaymentMethodType =
2222
| 'paypal'
2323
| 'pix'
2424
| 'samsung_pay'
25-
| 'upi';
25+
| 'upi'
26+
| 'wechat_pay';

src/enums/shared/available-payment-methods.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,4 +24,5 @@ export type AvailablePaymentMethod =
2424
| 'paypal'
2525
| 'pix'
2626
| 'samsung_pay'
27-
| 'upi';
27+
| 'upi'
28+
| 'wechat_pay';

src/enums/shared/payment-type.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,4 +27,5 @@ export type PaymentType =
2727
| 'samsung_pay'
2828
| 'unknown'
2929
| 'upi'
30+
| 'wechat_pay'
3031
| 'wire_transfer';

0 commit comments

Comments
 (0)