Magento Extensions Rating 2024
EXTENSIONS BY CATEGORY
B2B (Business-To-Business)
Blog
Customer
ERP (Enterprise Resource Planning)
Mega Menu
One Step Checkout
Order
POS (Point Of Sale)
Search
Shopping Cart
Sitemap
SEO
Social
Stock & Inventory Management
EXTENSIONS BY DEVELOPER
aheadWorks
Amasty
Boost My Shop
BSS Commerce
Magestore
MageWorx
Mirasvit
Templates Master
Wyomind
XTENTO
Magento 2 Documentation
Magento 2 Documentation
2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
vendor
magento
magento2-base
dev
tests
integration
testsuite
Magento
Paypal
Fixtures
store_payment_configuration_rollback.php
Go to the documentation of this file.
1
<?php
6
declare(strict_types=1);
7
8
use
Magento\Framework\App\Config\Storage\WriterInterface
;
9
use
Magento\Store\Api\StoreRepositoryInterface
;
10
use
Magento\Store\Model\ScopeInterface
;
11
use
Magento\TestFramework\Helper\Bootstrap
;
12
13
require
__DIR__
.
'/process_config_data.php'
;
14
15
$objectManager
= Bootstrap::getObjectManager();
16
17
$configData
= [
18
'payment/payflowpro/partner'
,
19
'payment/payflowpro/vendor'
,
20
'payment/payflowpro/user'
,
21
'payment/payflowpro/pwd'
,
22
];
24
$configWriter
=
$objectManager
->get(WriterInterface::class);
25
27
$storeRepository
=
$objectManager
->get(StoreRepositoryInterface::class);
28
$store
=
$storeRepository
->get(
'test'
);
29
$deleteConfigData
(
$configWriter
,
$configData
, ScopeInterface::SCOPE_STORES, (
int
)
$store
->getId());
30
require
__DIR__
.
'/../../Store/_files/store_rollback.php'
;
$deleteConfigData
$deleteConfigData
Definition:
payment_configuration_rollback.php:16
Magento\TestFramework\Helper\Bootstrap
Definition:
Bootstrap.php:12
__DIR__
defined('TESTS_BP')||define('TESTS_BP' __DIR__
Definition:
_bootstrap.php:60
$configData
$configData
Definition:
store_payment_configuration_rollback.php:17
Magento\Store\Model\ScopeInterface
Definition:
ScopeInterface.php:12
$configWriter
$configWriter
Definition:
store_payment_configuration_rollback.php:24
Magento\Store\Api\StoreRepositoryInterface
Definition:
StoreRepositoryInterface.php:17
$store
$store
Definition:
store_payment_configuration_rollback.php:28
$storeRepository
$storeRepository
Definition:
store_payment_configuration_rollback.php:27
$objectManager
$objectManager
Definition:
store_payment_configuration_rollback.php:15
Magento\Framework\App\Config\Storage\WriterInterface
Definition:
WriterInterface.php:16