Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
M
mjwshared
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Extensions
mjwshared
Commits
b33ca019
Commit
b33ca019
authored
2 years ago
by
John Twyman
Committed by
John Twyman
2 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Refactor API call to fix payment processor name issue
parent
9e39b1a7
No related branches found
No related tags found
1 merge request
!38
Refactor API call to fix payment processor name issue
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
CRM/Mjwshared/Check.php
+2
-1
2 additions, 1 deletion
CRM/Mjwshared/Check.php
info.xml
+2
-2
2 additions, 2 deletions
info.xml
with
4 additions
and
3 deletions
CRM/Mjwshared/Check.php
+
2
−
1
View file @
b33ca019
...
...
@@ -197,7 +197,8 @@ class CRM_Mjwshared_Check {
$contributionPagesToCheck
[]
=
$blockDetails
[
'entity_id'
];
}
$paymentProcessorIDs
=
\Civi\Api4\PaymentProcessor
::
get
(
FALSE
)
->
addWhere
(
'payment_processor_type_id:name'
,
'IN'
,
$separateMembershipPaymentNotSupportedProcessors
)
->
addJoin
(
'PaymentProcessorType AS payment_processor_type'
,
'INNER'
,
[
'payment_processor_type_id'
,
'='
,
'payment_processor_type.id'
])
->
addWhere
(
'payment_processor_type.name'
,
'IN'
,
$separateMembershipPaymentNotSupportedProcessors
)
->
execute
()
->
column
(
'id'
);
...
...
This diff is collapsed.
Click to expand it.
info.xml
+
2
−
2
View file @
b33ca019
...
...
@@ -14,8 +14,8 @@
<url
desc=
"Release Notes"
>
https://lab.civicrm.org/extensions/mjwshared/-/blob/master/docs/releasenotes.md
</url>
<url
desc=
"Licensing"
>
http://www.gnu.org/licenses/agpl-3.0.html
</url>
</urls>
<releaseDate>
2023-0
1-30
</releaseDate>
<version>
1.2.1
1
</version>
<releaseDate>
2023-0
2-14
</releaseDate>
<version>
1.2.1
2
</version>
<develStage>
stable
</develStage>
<compatibility>
<ver>
5.49
</ver>
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment