Skip to content

Commit

Permalink
Merge pull request #1588 from spryker-shop/feature/acp-2642/acp-3621-…
Browse files Browse the repository at this point in the history
…merchant-payment-expenses-support

ACP-3558 nonsplit to split merge
  • Loading branch information
abitskil authored Sep 5, 2024
2 parents 1e39a86 + 34607f3 commit 988c9a9
Show file tree
Hide file tree
Showing 3 changed files with 72 additions and 39 deletions.
84 changes: 45 additions & 39 deletions composer.lock

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

1 change: 1 addition & 0 deletions config/Shared/config_default-docker.dev.php
Original file line number Diff line number Diff line change
Expand Up @@ -180,6 +180,7 @@
$config[AppCatalogGuiConstants::OAUTH_PROVIDER_NAME] = OauthDummyConfig::PROVIDER_NAME;
$config[OauthClientConstants::OAUTH_PROVIDER_NAME_FOR_PAYMENT_AUTHORIZE] = OauthDummyConfig::PROVIDER_NAME;
$config[OauthClientConstants::OAUTH_PROVIDER_NAME_FOR_MESSAGE_BROKER] = OauthDummyConfig::PROVIDER_NAME;
$config[OauthClientConstants::OAUTH_PROVIDER_NAME_FOR_ACP] = OauthDummyConfig::PROVIDER_NAME;
$config[TaxAppConstants::OAUTH_PROVIDER_NAME] = OauthDummyConfig::PROVIDER_NAME;

// ----------------------------------------------------------------------------
Expand Down
26 changes: 26 additions & 0 deletions src/Pyz/Zed/SalesPaymentMerchant/SalesPaymentMerchantConfig.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
<?php

/**
* This file is part of the Spryker Suite.
* For full license information, please view the LICENSE file that was distributed with this source code.
*/

namespace Pyz\Zed\SalesPaymentMerchant;

use Spryker\Shared\Shipment\ShipmentConfig;
use Spryker\Zed\SalesPaymentMerchant\SalesPaymentMerchantConfig as SprykerSalesPaymentMerchantConfig;

class SalesPaymentMerchantConfig extends SprykerSalesPaymentMerchantConfig
{
/**
* @var bool
*/
protected const ORDER_EXPENSE_INCLUDED_IN_PAYMENT_PROCESS = true;

/**
* @var array<string, list<string>>
*/
protected const EXCLUDED_EXPENSE_TYPES_FOR_STORE = [
'AT' => [ShipmentConfig::SHIPMENT_EXPENSE_TYPE],
];
}

0 comments on commit 988c9a9

Please sign in to comment.