Version 5.0.13
This commit is contained in:
1 parent
b89858b2ff
commit
5efe744c5f
1407 files changed
+69690
-30177
No files matched your search
@@ -21,6 +21,7 @@ use IPS\Member;
|
||||
use IPS\MFA\MFAHandler;
|
||||
use IPS\nexus\Customer;
|
||||
use IPS\nexus\Customer\BillingAgreement;
|
||||
use IPS\nexus\Gateway;
|
||||
use IPS\nexus\Gateway\PayPal\Exception;
|
||||
use IPS\Output;
|
||||
use IPS\Patterns\ActiveRecordIterator;
|
||||
@@ -89,6 +90,11 @@ class billingagreements extends Controller
|
||||
$where[] = $id;
|
||||
}
|
||||
}
|
||||
|
||||
$where = [
|
||||
$where,
|
||||
[ Db::i()->in( 'ba_method', array_keys( Gateway::billingAgreementGateways() ) ) ]
|
||||
];
|
||||
|
||||
foreach ( new ActiveRecordIterator( Db::i()->select( '*', 'nexus_billing_agreements', $where ), 'IPS\nexus\Customer\BillingAgreement' ) as $billingAgreement )
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user