We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f1ba65d commit 227a108Copy full SHA for 227a108
CRM/Core/Payment/OmnipayMultiProcessor.php
@@ -866,7 +866,9 @@ protected function supportsPreApproval() {
866
omnipaymultiprocessor_civicrm_managed($entities);
867
foreach ($entities as $entity) {
868
if ($entity['entity'] === 'payment_processor_type') {
869
- if (!empty($entity['params']['supports_preapproval'])) {
+ if (
870
+ $entity['params']['name'] === $this->_paymentProcessor['payment_processor_type']
871
+ && !empty($entity['params']['supports_preapproval'])) {
872
return TRUE;
873
}
874
0 commit comments