Skip to content

Commit

Permalink
Update Application info logic
Browse files Browse the repository at this point in the history
ISSUE: CS-4807
  • Loading branch information
AleksandarBoljanovic committed Nov 2, 2023
1 parent 7f7b632 commit 7ef0ed5
Show file tree
Hide file tree
Showing 6 changed files with 25 additions and 87 deletions.
9 changes: 0 additions & 9 deletions Bootstrap/Bootstrap.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@
use Adyen\Core\BusinessLogic\Domain\GeneralSettings\Services\GeneralSettingsService;
use Adyen\Core\BusinessLogic\Domain\Integration\Order\OrderService as OrderServiceInterface;
use Adyen\Core\BusinessLogic\Domain\Integration\Processors\AddressProcessor;
use Adyen\Core\BusinessLogic\Domain\Integration\Processors\ApplicationInfoProcessor;
use Adyen\Core\BusinessLogic\Domain\Integration\Processors\BasketItemsProcessor;
use Adyen\Core\BusinessLogic\Domain\Integration\Processors\BirthdayProcessor;
use Adyen\Core\BusinessLogic\Domain\Integration\Processors\L2L3DataProcessor;
Expand Down Expand Up @@ -66,7 +65,6 @@
use AdyenPayment\Components\Integration\PaymentProcessors\ShopperLocaleProcessor;
use AdyenPayment\Components\Integration\PaymentProcessors\ShopperNameProcessor as IntegrationShopperNameProcessor;
use AdyenPayment\Components\Integration\PaymentProcessors\ShopperReferenceProcessor as IntegrationShopperReferenceProcessor;
use AdyenPayment\Components\Integration\PaymentProcessors\ApplicationInfoProcessor as IntegrationApplicationInfoProcessor;
use AdyenPayment\Components\Integration\StoreService;
use AdyenPayment\Components\Integration\SystemInfoService;
use AdyenPayment\Components\LastOpenTimeService;
Expand Down Expand Up @@ -301,13 +299,6 @@ static function () {
}
);

ServiceRegister::registerService(
ApplicationInfoProcessor::class,
static function () {
return new IntegrationApplicationInfoProcessor();
}
);

ServiceRegister::registerService(
\Adyen\Core\BusinessLogic\Domain\Integration\Processors\ShopperLocaleProcessor::class,
static function () {
Expand Down
9 changes: 6 additions & 3 deletions Components/Configuration/ConfigurationService.php
Original file line number Diff line number Diff line change
@@ -1,15 +1,18 @@
<?php


namespace AdyenPayment\Components\Configuration;


use Adyen\Core\BusinessLogic\Domain\Configuration\Configuration;
use Adyen\Core\Infrastructure\Logger\Logger;
use AdyenPayment\Components\ShopwareVersionCheck;
use AdyenPayment\Utilities\Plugin;
use AdyenPayment\Utilities\Url;

/**
* Class ConfigurationService
*
* @package AdyenPayment\Components\Configuration
*/
class ConfigurationService extends Configuration
{
private const INTEGRATION_NAME = 'Shopware';
Expand Down Expand Up @@ -54,7 +57,7 @@ public function getIntegrationName(): string
*/
public function getPluginName(): string
{
return 'AdyenPayment';
return 'Adyen Shopware Plugin';
}

/**
Expand Down

This file was deleted.

2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
"php": "^7.2|^7.4|^8.0",
"ext-json": "*",
"ext-zip": "*",
"adyen/integration-core": "1.0.3",
"adyen/integration-core": "1.0.4",
"ext-simplexml": "*"
},
"minimum-stability": "dev",
Expand Down
14 changes: 7 additions & 7 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 11 additions & 1 deletion plugin.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

<label>Adyen Shopware Plugin</label>
<label lang="de">Adyen Shopware Plugin</label>
<version>4.0.2</version>
<version>4.0.3</version>
<copyright>Adyen</copyright>
<author>Adyen</author>
<link>https://adyen.com</link>
Expand Down Expand Up @@ -487,4 +487,14 @@
* Update core, fixed credit card mapping
</changes>
</changelog>
<changelog version="4.0.3">
<changes lang="en">
* Change application info values
* Update core to version 1.0.4
</changes>
<changes lang="de">
* Change application info values
* Update core to version 1.0.4
</changes>
</changelog>
</plugin>

0 comments on commit 7ef0ed5

Please sign in to comment.