Skip to content

Commit

Permalink
dev/financial#151 Paypal express validation fix on event
Browse files Browse the repository at this point in the history
extension of #18459
  • Loading branch information
eileenmcnaughton committed Oct 6, 2020
1 parent f8246b8 commit 3137d3a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions CRM/Core/Payment/PayPalImpl.php
Original file line number Diff line number Diff line change
Expand Up @@ -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))) {
Expand Down

0 comments on commit 3137d3a

Please sign in to comment.