Skip to content

Stripe PluginContext doesn’t exist

Trying to install Stripe on local Magento 2.4 instance

I followed the steps here https://docs.stripe.com/connectors/adobe-commerce/install

But after installing it, Amin page breaks with Plugin class StripeIntegrationPaymentsPluginContext doesn't exist

I have searched though the local codebase and that class is indeed missing

Only reference is inside stripe/module-payments/etc/frontend/di.xml:

<type name="MagentoFrameworkAppActionAbstractAction">
    <plugin name="stripe_context_currency" type="StripeIntegrationPaymentsPluginContext" sortOrder="100"/>
</type>

Magento is run from Bitnami Docker Compose file

composer.json has this:

"require": {
    "magento/composer-dependency-version-audit-plugin": "~0.1",
    "magento/composer-root-update-plugin": "^2.0.4",
    "magento/product-community-edition": "2.4.7",
    "stripe/stripe-payments": "^4.0"
},