Skip to content
Snippets Groups Projects
Commit 88c0aebb authored by mattwire's avatar mattwire
Browse files

Update release notes

parent 0efe5299
Branches
Tags
No related merge requests found
......@@ -37,6 +37,11 @@ function civicrm_api3_stripe_paymentintent_createorupdate($params) {
_civicrm_api3_stripe_paymentintent_returnInvalid($firewall->getReasonDescription());
}
}
foreach ($params as $key => $value) {
if (substr($key, 0, 3) === 'api') {
_civicrm_api3_stripe_paymentintent_returnInvalid('Invalid params');
}
}
if (!empty($params['stripe_intent_id'])) {
try {
$params['id'] = civicrm_api3('StripePaymentintent', 'getvalue', ['stripe_intent_id' => $params['stripe_intent_id'], 'return' => 'id']);
......@@ -163,6 +168,11 @@ function civicrm_api3_stripe_paymentintent_process($params) {
_civicrm_api3_stripe_paymentintent_returnInvalid($firewall->getReasonDescription());
}
}
foreach ($params as $key => $value) {
if (substr($key, 0, 3) === 'api') {
_civicrm_api3_stripe_paymentintent_returnInvalid('Invalid params');
}
}
$paymentMethodID = CRM_Utils_Type::validate($params['payment_method_id'] ?? '', 'String');
$paymentIntentID = CRM_Utils_Type::validate($params['payment_intent_id'] ?? '', 'String');
$capture = CRM_Utils_Type::validate($params['capture'] ?? NULL, 'Boolean', FALSE);
......
......@@ -9,7 +9,7 @@ Releases use the following numbering system:
* **[BC]**: Items marked with [BC] indicate a breaking change that will require updates to your code if you are using that code in your extension.
## Release 6.7.4 (2022-05-16)
## Release 6.7.4 (2022-05-19)
* Fix [#320](https://lab.civicrm.org/extensions/stripe/-/issues/320) Using the new refund UI results in refund recorded twice.
* Stripe does not refund fees. Don't record a fees refund in the refund FinancialTrxn in CiviCRM.
......
......@@ -15,7 +15,7 @@
<author>Matthew Wire (MJW Consulting)</author>
<email>mjw@mjwconsult.co.uk</email>
</maintainer>
<releaseDate>2022-05-16</releaseDate>
<releaseDate>2022-05-19</releaseDate>
<version>6.7.4</version>
<develStage>stable</develStage>
<compatibility>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment