We will work on Apr 26th (Saturday) and will be off from Apr 30th (Wednesday) until May 2nd (Friday) for public holiday in our country

Commit d00f0689 authored by Rik ter Beek's avatar Rik ter Beek Committed by GitHub

Merge pull request #318 from Adyen/revert-316-remove-ba-store-check

Revert "remove storeId check so we can show all billing agreements"
parents b9ac03e2 caa48c34
......@@ -773,6 +773,7 @@ class Data extends AbstractHelper
$baCollection = $this->_billingAgreementCollectionFactory->create();
$baCollection->addFieldToFilter('customer_id', $customerId);
$baCollection->addFieldToFilter('store_id', $storeId);
$baCollection->addFieldToFilter('method_code', 'adyen_oneclick');
$baCollection->addActiveFilter();
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment