From 2e261e7ef500f92ca4e60b91d3a476f8ae032bf3 Mon Sep 17 00:00:00 2001 From: i-just Date: Thu, 7 May 2026 10:23:36 +0200 Subject: [PATCH] updates for v6 with adapter --- README.md | 4 ++-- composer.json | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 9303f78..7f16c74 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,7 @@ Connect your Craft content to [Stripe](https://stripe.com)’s powerful billing ## Requirements -This plugin requires Craft CMS 5.6.0 or later, and a Stripe account with access to developer features. +This plugin requires Craft CMS 5.6.0+ or 6.0.0-alpha.1+ with the `craftcms/yii2-adapter` package, and a Stripe account with access to developer features. > [!TIP] > Transitioning from Craft Commerce? Check out the dedicated [migration](#migrating-from-commerce) section. @@ -39,7 +39,7 @@ ddev craft plugin/install stripe The Stripe plugin builds its configuration from three sources: - [Project config](https://craftcms.com/docs/5.x/system/project-config.html) — Managed via the **Stripe** → **Settings** screen in Craft’s control panel. -- **A plugin config file** — Add a `config/stripe.php` file to your project and return a map of options keyed with properties from the `craft\stripe\models\Settings` class. +- **A plugin config file** — Add a `config/stripe.php` file (or `config/craft/stripe.php` if you’re using Craft CMS v6) to your project and return a map of options keyed with properties from the `craft\stripe\models\Settings` class. - **Environment variables** — Some options can be set directly as environment variables. ### API Keys diff --git a/composer.json b/composer.json index 17148b2..b7a47aa 100644 --- a/composer.json +++ b/composer.json @@ -20,7 +20,7 @@ "prefer-stable": true, "require": { "php": "^8.2", - "craftcms/cms": "^5.6.0", + "craftcms/cms": "^5.6.0|^6.0.0-alpha.1", "stripe/stripe-php": "^13|^14" }, "require-dev": {