From ca748f0de8b4f2c43b4fcdcfb272f6c586083585 Mon Sep 17 00:00:00 2001 From: eileen Date: Wed, 7 Oct 2020 10:35:31 +1300 Subject: [PATCH] dev/financial#151 Paypal express validation fix on event extension of https://github.com/civicrm/civicrm-core/pull/18459 --- CRM/Core/Payment/PayPalImpl.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/CRM/Core/Payment/PayPalImpl.php b/CRM/Core/Payment/PayPalImpl.php index 16526443bd01..2820e426c890 100644 --- a/CRM/Core/Payment/PayPalImpl.php +++ b/CRM/Core/Payment/PayPalImpl.php @@ -1132,8 +1132,13 @@ protected function isPaypalExpress($params) { // The contribution form passes a 'button' but the event form might still set one of these fields. // @todo more standardisation & get paypal fully out of the form layer. $possibleExpressFields = [ + // @todo - we think these top 2 are likely not required & it's still here + // on a precautionary basis. + // see https://github.com/civicrm/civicrm-core/pull/18680 '_qf_Register_upload_express_x', '_qf_Payment_upload_express_x', + '_qf_Register_upload_express', + '_qf_Payment_upload_express', '_qf_Main_upload_express', ]; if (array_intersect_key($params, array_fill_keys($possibleExpressFields, 1))) {