Skip to content

Commit 177d1f4

Browse files
update climate version (#382)
1 parent 0368cb6 commit 177d1f4

2 files changed

Lines changed: 10 additions & 0 deletions

File tree

packages/source-stripe/src/src-list-api.test.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -131,6 +131,11 @@ describe('isSkippableError', () => {
131131
'Accounts v2 is not enabled for your livemode merchant acct_1NIFdXLd02PKGbD5. Please visit https://docs.stripe.com/connect/use-accounts-as-customers to enable Accounts v2. [GET /v2/core/accounts (400)] {request-id=req_v2yowYQ7yMNDkuvFi, stripe-should-retry=false}',
132132
true,
133133
],
134+
[
135+
'climate_order',
136+
'This account is not eligible for Climate Orders. [GET /v1/climate/orders (400)]',
137+
true,
138+
],
134139
['unrecognized error', 'Something went wrong', false],
135140
['non-StripeApiRequestError', null, false],
136141
])('%s', (_label, message, expected) => {

packages/source-stripe/src/src-list-api.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -157,6 +157,11 @@ const SKIPPABLE_ERROR_MESSAGES = [
157157
// https://dashboard.stripe.com/identity to get started.
158158
// [GET /v1/identity/verification_reports (400)]"
159159
'Your account is not set up to use Identity',
160+
161+
// climate_order
162+
// "This account is not eligible for Climate Orders.
163+
// [GET /v1/climate/orders (400)]"
164+
'This account is not eligible for Climate Orders',
160165
]
161166

162167
export function isSkippableError(err: unknown): boolean {

0 commit comments

Comments
 (0)