From 3137d3a68bb458e9487b1a143cbe9a4358d935cd 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 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CRM/Core/Payment/PayPalImpl.php b/CRM/Core/Payment/PayPalImpl.php index 16526443bd01..a36922391529 100644 --- a/CRM/Core/Payment/PayPalImpl.php +++ b/CRM/Core/Payment/PayPalImpl.php @@ -1132,8 +1132,8 @@ 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 = [ - '_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))) {