Stripe for Craft Commerce icon

Stripe for Craft Commerce

Version 5.0.1

April 9, 2024
  • Fixed a bug where floating point rounding precision could cause payments/refunds to fail. (#296)
  • Fixed a PHP error that could occur when handling a webhook request. (#294)

Version 5.0.0

March 25, 2024
  • Stripe now requires Craft Commerce 5.0.0-beta.1 or later.

Version 4.1.2.2

April 9, 2024
  • Fixed a PHP error that could occur when handling a webhook request. (#294)

Version 4.1.2.1

March 28, 2024
  • Fixed a bug where floating point precision could cause payments/refunds to fail. (#296)

Version 4.1.2

March 25, 2024
  • Fixed a bug where redirects could break when adding a new payment source. (#259, #289)
  • Fixed a bug where payment history was not being updated when a payment was made on a subscription. (#144)
  • Subscription plans queries now return more than 100 plans. (#104)

Version 4.1.1

January 12, 2024
  • Fixed a bug where legacy default payment methods were not being set as default. (#280)
  • Fixed a bug that could cause duplicate payment sources to be created. (#281)
  • Fixed a bug where it wasn’t possible to access the Stripe instance from JavaScript. (#275)
  • Fixed a bug where not all enabled payment methods types were being shown when creating a payment source. (#251, #160)
  • Fixed a bug where changing a partial payment amount wouldn’t update the payment intent. (#279)

Version 4.1.0

December 19, 2023
  • Stripe for Craft Commerce now requires Commerce 4.3.3 or later.
  • It is now possible to create SEPA and Bacs Direct Debit payment sources.
  • Payment method data is now stored in expanded form within transaction response data. (#276)
  • Billing address information is now passed to the payment intent. (#257, #258)
  • Fixed a bug where it wasn’t possible to pay using the SEPA Direct Debit payment method. (#265)
  • Fixed a bug where failed PayPal payments would cause infinite redirects. (#266)
  • Fixed a bug where JavaScript files were being served incorrectly. (#270)
  • Added craft\commerce\stripe\SubscriptionGateway::handlePaymentIntentSucceeded().

Version 4.0.1.1

October 25, 2023
  • Restored support for backend payments using the old payment form.
  • Fixed missing icon.

Version 4.0.1

September 28, 2023
  • Fixed a PHP error that occurred when switching a subscription’s plan.

Version 4.0.0

September 13, 2023
  • Added support for all of Stripe’s payment methods, including Apple Pay and Google Wallet. (#223, #222,#212)
  • Added support for Stripe Billing.
  • Added support for Stripe Checkout.
  • Added support for syncing customer payment methods.
  • Plans are now kept in sync with Stripe plans. (#240)
  • Customer information is now kept in sync with Stripe customers.
  • Improved logging.
  • Stripe now uses the 2022-11-15 version of the Stripe API.
  • Added the commerce-stripe/customers/billing-portal-redirect action.
  • Added the commerce-stripe/customers/create-setup-intent action.
  • Added the commerce-stripe/sync/payment-methods command.
  • Added craft\commerce\stripe\events\BuildSetupIntentRequestEvent.
  • Added craft\commerce\stripe\gateways\PaymentIntents::getBillingPortalUrl().
  • Removed craft\commerce\stripe\base\Gateway::normalizePaymentToken().
  • Removed craft\commerce\stripe\events\BuildGatewayRequestEvent::$metadata. BuildGatewayRequestEvent::$request should be used instead.
  • Deprecated the commerce-stripe/default/fetch-plans action.
  • Deprecated creating new payment sources via the commerce/subscriptions/subscribe action.
  • Fixed a bug where craft\commerce\stripe\base\SubscriptionGateway::getSubscriptionPlans() was returning incorrectly-formatted data.

Version 3.1.2

April 9, 2024
  • Fixed a PHP error that could occur when handling a webhook request. (#294)
  • Plans’ data is now updated when the associated plan is updated in Stripe. (#240)

Version 3.1.1

May 10, 2023
  • Stripe customers’ default payment methods are now kept in sync with Craft users’ primary payment sources. (#235)
  • Added craft\commerce\stripe\services\Customers::EVENT_BEFORE_CREATE_CUSTOMER. (#233)
  • Added craft\commerce\stripe\events\SubscriptionRequestEvent::$plan, which will be set to the plan being subscribed to. (#141)

Version 3.1.0

January 29, 2022
  • Added the commerce-stripe/reset-data command.

Version 3.0.3

November 23, 2022

Fixed

  • Fixed a PHP error that occurred when switching a subscription’s plan. (#3035)

Version 3.0.2

November 17, 2022

Added

  • Added craft\commerce\stripe\gateways\PaymentIntents::EVENT_BEFORE_CONFIRM_PAYMENT_INTENT. (#221)

Fixed

  • Fixed a PHP error that occurred where switching a subscription plan.

Version 3.0.1

June 16, 2022

Fixed

  • Fixed a bug where billing address wasn’t being sent to Stripe.
  • Fixed incorrect type on craft\commerce\stripe\models\forms\SwitchPlans::$billingCycleAnchor.

Version 3.0.0

May 4, 2022

Added

  • Added Craft CMS 4 and Craft Commerce 4 compatibility.
  • Payment Intents gateway settings now support environment variables.

Removed

  • Removed the Charge gateway.

Fixed

  • Fixed an error that would occur when calling craft\commerce\stripe\models\PaymentIntent::getTransaction().