From 2dbfa2b744de67626b1044816d27c7d7f43f5374 Mon Sep 17 00:00:00 2001 From: Michael Bromley Date: Mon, 19 Jun 2023 17:32:26 +0200 Subject: [PATCH] fix(payments-plugin): Add compatibility metadata to payment plugins --- packages/payments-plugin/src/braintree/braintree.plugin.ts | 1 + packages/payments-plugin/src/mollie/mollie.plugin.ts | 1 + packages/payments-plugin/src/stripe/stripe.plugin.ts | 1 + 3 files changed, 3 insertions(+) diff --git a/packages/payments-plugin/src/braintree/braintree.plugin.ts b/packages/payments-plugin/src/braintree/braintree.plugin.ts index 3bf0d6c8d9..4de5f6654c 100644 --- a/packages/payments-plugin/src/braintree/braintree.plugin.ts +++ b/packages/payments-plugin/src/braintree/braintree.plugin.ts @@ -268,6 +268,7 @@ import { BraintreePluginOptions } from './types'; `, resolvers: [BraintreeResolver], }, + compatibility: '^2.0.0', }) export class BraintreePlugin { static options: BraintreePluginOptions = {}; diff --git a/packages/payments-plugin/src/mollie/mollie.plugin.ts b/packages/payments-plugin/src/mollie/mollie.plugin.ts index 7e41bc0724..d54f006db5 100644 --- a/packages/payments-plugin/src/mollie/mollie.plugin.ts +++ b/packages/payments-plugin/src/mollie/mollie.plugin.ts @@ -160,6 +160,7 @@ export interface MolliePluginOptions { schema: shopSchema, resolvers: [MollieResolver], }, + compatibility: '^2.0.0', }) export class MolliePlugin { static options: MolliePluginOptions; diff --git a/packages/payments-plugin/src/stripe/stripe.plugin.ts b/packages/payments-plugin/src/stripe/stripe.plugin.ts index 1c0bbcccc8..ac35b17a64 100644 --- a/packages/payments-plugin/src/stripe/stripe.plugin.ts +++ b/packages/payments-plugin/src/stripe/stripe.plugin.ts @@ -196,6 +196,7 @@ import { StripePluginOptions } from './types'; `, resolvers: [StripeResolver], }, + compatibility: '^2.0.0', }) export class StripePlugin { static options: StripePluginOptions;