Skip to content

Unable to install stripe in Magento 2.4.6

Using Magento 2.4.6 with PHP 8.2
When running composer require stripe/stripe-payments I have no problem.
However when I run sudo bin/magento setup:upgrade
I get

unable to apply data patch StripeIntegrationPaymentsSetupPatchDataPatch003InitialFees for module StripeIntegration_Payments. Original exception message: The "stripe_sub_enabled" attribute name is invalid. Reset the name and try again.

I should mention my composer.lock

  • Locking stripe/module-payments (3.4.1)
  • Locking stripe/stripe-payments (3.4.0)
  • Locking stripe/stripe-php (v7.128.0)

What am I doing wrong?