From 599779dc5b60a02861195fe1282627b2a60bdeb3 Mon Sep 17 00:00:00 2001 From: "Matthew Wire (MJW Consulting)" <mjw@mjwconsult.co.uk> Date: Mon, 23 Sep 2019 23:40:51 +0100 Subject: [PATCH] Release 6.1.4 --- CRM/Stripe/Check.php | 2 +- README.md | 2 ++ docs/release/release_notes.md | 7 +++++++ info.xml | 5 +++-- 4 files changed, 13 insertions(+), 3 deletions(-) diff --git a/CRM/Stripe/Check.php b/CRM/Stripe/Check.php index 66c8845f..8a4ea2d9 100644 --- a/CRM/Stripe/Check.php +++ b/CRM/Stripe/Check.php @@ -10,7 +10,7 @@ use CRM_Stripe_ExtensionUtil as E; */ class CRM_Stripe_Check { - const MIN_VERSION_MJWSHARED = '0.4.2'; + const MIN_VERSION_MJWSHARED = '0.4.3'; public static function checkRequirements(&$messages) { $extensions = civicrm_api3('Extension', 'get', [ diff --git a/README.md b/README.md index 46029ef3..207abbd4 100644 --- a/README.md +++ b/README.md @@ -6,6 +6,8 @@ Integrates the Stripe payment processor (for Credit/Debit cards) into CiviCRM so Latest releases can be found here: https://civicrm.org/extensions/stripe-payment-processor +**Always read the [Release Notes](https://docs.civicrm.org/stripe/en/latest/release/release_notes/) carefully before upgrading!** + ## Documentation Please see: https://docs.civicrm.org/stripe/en/latest diff --git a/docs/release/release_notes.md b/docs/release/release_notes.md index c16fcd0b..ab1e33b6 100644 --- a/docs/release/release_notes.md +++ b/docs/release/release_notes.md @@ -1,3 +1,10 @@ +## Release 6.1.4 +**This release fixes a MAJOR issue that caused duplicate payments to be taken when a new recurring contribution (subscription) was setup. All users of 6.x should upgrade.** + +* Don't take payment twice on recurring payments (This was happening because a payment was being created via a paymentIntent and subsequently via the first invoice generated by the subscription - currently we don't support 3D secure on subscriptions, this will be fixed in a future release). +* If we get an error when submitting, make sure we run Stripe submit next time as well so we generate a paymentIntent/paymentMethod for the payment (this fixes the issue where only the first submission attempt would succeeed - subsequent submission attempts would fail with "Missing paymentIntentID"). +* Validate payment forms using javascript so we don't create multiple uncaptured paymentIntents when the form is not valid (each time the form was submitted and failed because eg. the email address was invalid a new paymentIntent would be created). + ## Release 6.1.3 **You need to Fix/Create webhook after installing this update to add the `charge.captured` event to the list of events sent to the webhook.** diff --git a/info.xml b/info.xml index b8297c3a..994ab3ed 100644 --- a/info.xml +++ b/info.xml @@ -6,14 +6,15 @@ <urls> <url desc="Main Extension Page">https://lab.civicrm.org/extensions/stripe</url> <url desc="Support">https://lab.civicrm.org/extensions/stripe/issues</url> + <url desc="Documentation">https://docs.civicrm.org/stripe/en/latest/</url> </urls> <license>AGPL-3.0</license> <maintainer> <author>Matthew Wire (MJW Consulting)</author> <email>mjw@mjwconsult.co.uk</email> </maintainer> - <releaseDate>2019-09-21</releaseDate> - <version>6.1.3</version> + <releaseDate>2019-09-23</releaseDate> + <version>6.1.4</version> <develStage>stable</develStage> <compatibility> <ver>5.13</ver> -- GitLab