- Fixed a bug where it was not possible to save a Stripe customer record. (#186)
- Added support for the
payment_method.detached
Stripe webhook event.
- Improved the performance of a previous migration. (#185)
- Fixed a bug where customers could be incorrectly identified as a duplicate. (#97)
- Fixed a bug where Stripe API requests weren't including any metadata changes made via
craft\commerce\stripe\base\Gateway::EVENT_BUILD_GATEWAY_REQUEST
. (#85)
- Added support for the
charge.refund.updated
Stripe webhook event.
- Stripe for Craft Commerce now requires Craft CMS 3.7.0 and Craft Commerce 3.4.5 or later.
- Fixed a bug where a refund could fail asynchronously.
- Fixed a bug that prevented multiple payments on a single order. (#147)
- Fixed a bug that caused additional Stripe gateways configured in the same installation to fail. (#124)
- Fixed a bug where changes to metadata in the
EVENT_BUILD_GATEWAY_REQUEST
event were being overridden. (#120) - Fixed a bug where the billing address’ state was not being passed when using Payment Intents.
- Fixed minor typo.
- Added
craft\commerce\stripe\gateways\Gateway::getTransactionHashFromWebhook()
to support mutex lock when processing a webhook.
- Updated
stripe-php
dependency. (#95) - JavaScript SDK is now loaded at the end of the body.
- Gateway
handleWebhook()
methods are now public.
- Fixed a bug that could cause viewport zooming on mobile devices. (#94)
- Fixed a javascript error in Payment Intents
paymentForm.js
when using IE 11. (#92)
- Fixed a PHP error when creating a new subscription plan. (#91)
- Fixed a bug that caused the plan selection dropdown to have the incorrect item selected.
- Fixed a bug that caused an order to be marked as complete multiple times with the “Stripe Charge” gateway.
- Fixed a bug where Stripe webhook reponses could contain unnecessary JavaScript. (##86)
- Added support for resolving subscription billing issues.
- Added
craft\commerce\stripe\models\forms\Subscription
. - Added
craft\commerce\stripe\models\forms\SwitchPlans::$billingCycleAnchor
. - Added
craft\commerce\stripe\services\Invoices::getUserInvoices()
.
- Update Craft Commerce requirements to require Craft Commerce 2.2.
- Improved support for specifying trial when starting a subscription.
- Improved support for specifying billing cycle changes when switching subscription plans.
- Fixed a bug where payment form errors were not being caught and returned. (#75)
- Fixed a PHP error caused by a change in the Stripe API.
- Fixed a bug where payment forms would sometimes throw an error. (#59)
- Fixed a PHP error when retrieving the subscriptions next payment amount. (#71)
- Fixed a bug where failed 3DS authentications would have no error code and error message.
- Update Craft Commerce requirements to allow for Craft Commerce 3.
- Fixed a bug where Webhook Signing Secret setting could not be set to an environment variable. (#61)
- Fixed a bug where Commerce wouldn't correctly refund purchases by guest users using Payment Intents gateway. (#64)
- Fixed a bug where payment forms would not ensure that jQuery was present, before depending on it. (#63)
### Fixed
- Fixed an error with Payment Intents gateway where it was impossible to pay while not logged in some more. (#60)
- Country ISO code is now submitted to Stripe, instead of the country name. (#59)
### Fixed
- Fixed an error with Payment Intents gateway where it was impossible to pay while not logged in. (#60)
- Added the Stripe Payment Intents gateway, which is compatible with 3D Secure 2.
- Added
craft\commerce\stripe\base\Gateway
. - Added
craft\commerce\stripe\base\SubscriptionGateway
. - Added
craft\commerce\stripe\gateways\PaymentIntents
. - Added
craft\commerce\stripe\models\PaymentIntent
. - Added
craft\commerce\stripe\models\forms\PaymentIntent
. - Added
craft\commerce\stripe\records\PaymentIntent
. - Added
craft\commerce\stripe\responses\PaymentIntentResponse
. - Added
craft\commerce\stripe\services\Customers::getCustomerById()
. - Added
craft\commerce\stripe\services\PaymentIntents
.
- Switched to Stripe API version 2019-03-14.
- Renamed the Stripe gateway to “Stripe Charge”.
- Renamed
craft\commerce\stripe\models\forms\Payment
tocraft\commerce\stripe\models\forms\Charge
. - Renamed
craft\commerce\stripe\responses\PaymentResponse
tocraft\commerce\stripe\responses\ChargeResponse
. - Renamed
craft\commerce\stripe\web\PaymentResponse
tocraft\commerce\stripe\responses\ChargeResponse
.
- Deprecated
craft\commerce\stripe\events\Receive3dsPayment
. - Deprecated
craft\commerce\stripe\gateways\Gateway
.
- Fixed a bug where it was not possible to save a payment source if the customer had been deleted on Stripe. (#35).
- Fixed a bug where the
craft\commerce\services\Subscriptions::EVENT_AFTER_EXPIRE_SUBSCRIPTION
event wouldn’t be triggered for subscriptions that were canceled immediately. (#47).
- Added support for
craft\commerce\base\SubscriptionResponseInterface::isInactive()
.
- Stripe for Craft Commerce now requires Craft Commerce 2.1.4 or later.
- Billing address information is now provided to Stripe on payment, if available. (#43)
- Fixed a bug where it was not possible to fetch customer data if the Secret API Key was set to an environment variable (#54) .
- Added
craft\commerce\stripe\services\Invoices::getInvoiceByReference()
. - Added
craft\commerce\stripe\gateways\Gateway::refreshPaymentHistory()
.
- The Secret API Key, Publishable API Key, and Webhook Signing Secret settings can now be set to environment variables.
- Added
craft\commerce\stripe\events\BuildGatewayRequestEvent::$request
.
- Stripe for Craft Commerce now requires Craft CMS 3.1.5 or later.
- Stripe for Craft Commerce now requires Craft Commerce 2.0.0 or later.
- Deprecated
craft\commerce\stripe\events\BuildGatewayRequestEvent::$metadata
. The new$request
property should be used instead.
- Fixed an error that occurred when paying for an order on a console request.
- Switched to Stripe API version 2018-11-08.
- Improved handling of asynchronous 3D Secure transaction webhooks for some edge cases.
- Fixed an error that could occur when changing a subscription’s plan. (#46)
craft\commerce\stripe\services\Invoices
now fires a cancelablebeforeSaveInvoice
event.
- Fixed an error that occurred when calling
craft\commerce\stripe\services\Customers::getCustomer()
. - Fixed an error that could occur when switching subscription plans. (#34)
- Added
craft\commerce\stripe\gateways\Gateway::EVENT_BEFORE_SUBSCRIBE
, which is triggered before subscribing a customer to a subscription plan. (#31)
- Stripe for Craft Commerce now requires Commerce 2.0.0-beta.12 or later.
- Switched to Stripe API version 2018-09-24.
- An exception is now thrown if webhook processing fails.
- Removed
craft\commerce\stripe\gateways\Gateway::getSubscriptionFormHtml()
.
- Fixed an error that occurred when attempting to subscribe to a plan, if the
trialDays
parameter wasn’t set.
- Added
craft\commerce\stripe\gateways\Gateway::EVENT_RECEIVE_3DS_PAYMENT
, which is triggered after a successful 3D Secure transaction.
- Fixed a bug where it wasn’t always possible to pay with a credit card when using Stripe SDK 6.17.1. (#22)
- Switched to Stripe API version 2018-07-27.
- Subscription plan listings are no longer limited to 10 plans.
- Fixed a PHP error that occurred when subscribing a user to a plan. (#17)
- Added support for paying via credit card tokens. (#9)
- It’s now possible to pay on behalf of other users. (#12)
- Fixed a PHP error.
- Initial release.