Skip to content

Commit 3ef5dbb

Browse files
mescalanteaclaude
andcommitted
PAR-778: step 27 - remove MerchantIdAwareStoreIntegrationProxy
Simba PR 19469 reads merchant_id from the Sequra-Merchant-Id header that integration-core's AuthorizedProxy already sends; the body/query injection is no longer needed. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent 235c90f commit 3ef5dbb

2 files changed

Lines changed: 0 additions & 114 deletions

File tree

src/BootstrapComponent.php

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,7 @@
1818
use SeQura\Core\BusinessLogic\Domain\Integration\Disconnect\DisconnectServiceInterface;
1919
use SeQura\Core\BusinessLogic\Domain\Integration\Version\VersionServiceInterface;
2020
use SeQura\Core\BusinessLogic\Domain\Order\Models\SeQuraOrder;
21-
use SeQura\Core\BusinessLogic\Domain\StoreIntegration\ProxyContracts\StoreIntegrationsProxyInterface;
2221
use SeQura\Core\BusinessLogic\Providers\QueueNameProvider\Contract\QueueNameProviderInterface;
23-
use SeQura\Core\BusinessLogic\SeQuraAPI\Factories\ConnectionProxyFactory;
2422
use SeQura\Core\BusinessLogic\Utility\EncryptorInterface;
2523
use SeQura\Core\Infrastructure\Configuration\ConfigEntity;
2624
use SeQura\Core\Infrastructure\Logger\Interfaces\ShopLoggerAdapter;
@@ -39,7 +37,6 @@
3937
use SeQura\Middleware\Service\BusinessLogic\DisconnectService;
4038
use SeQura\Middleware\Service\BusinessLogic\VersionService;
4139
use SeQura\Middleware\Service\Infrastructure\LoggerService;
42-
use SeQura\Middleware\StoreIntegration\MerchantIdAwareStoreIntegrationProxy;
4340
use SeQura\Middleware\Tenant\Entity\Tenant;
4441
use SeQura\Middleware\Tenant\Service\TenantService;
4542
use SeQura\Middleware\Utility\Encryptor;
@@ -109,15 +106,6 @@ static function () {
109106
return new DisconnectService();
110107
}
111108
);
112-
113-
ServiceRegister::registerService(
114-
StoreIntegrationsProxyInterface::class,
115-
static function () {
116-
return new MerchantIdAwareStoreIntegrationProxy(
117-
ServiceRegister::getService(ConnectionProxyFactory::class)
118-
);
119-
}
120-
);
121109
}
122110

123111
/**

src/StoreIntegration/MerchantIdAwareStoreIntegrationProxy.php

Lines changed: 0 additions & 102 deletions
This file was deleted.

0 commit comments

Comments
 (0)