diff --git a/packages/source-stripe/src/src-list-api.test.ts b/packages/source-stripe/src/src-list-api.test.ts index 28f8ebc5..13d963ea 100644 --- a/packages/source-stripe/src/src-list-api.test.ts +++ b/packages/source-stripe/src/src-list-api.test.ts @@ -131,6 +131,11 @@ describe('isSkippableError', () => { '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}', true, ], + [ + 'climate_order', + 'This account is not eligible for Climate Orders. [GET /v1/climate/orders (400)]', + true, + ], ['unrecognized error', 'Something went wrong', false], ['non-StripeApiRequestError', null, false], ])('%s', (_label, message, expected) => { diff --git a/packages/source-stripe/src/src-list-api.ts b/packages/source-stripe/src/src-list-api.ts index 4b3be568..cff8faec 100644 --- a/packages/source-stripe/src/src-list-api.ts +++ b/packages/source-stripe/src/src-list-api.ts @@ -157,6 +157,11 @@ const SKIPPABLE_ERROR_MESSAGES = [ // https://dashboard.stripe.com/identity to get started. // [GET /v1/identity/verification_reports (400)]" 'Your account is not set up to use Identity', + + // climate_order + // "This account is not eligible for Climate Orders. + // [GET /v1/climate/orders (400)]" + 'This account is not eligible for Climate Orders', ] export function isSkippableError(err: unknown): boolean {