Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ACP-3558 Merchant payment expense support. #414

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 15 additions & 13 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 @@ -173,6 +173,7 @@
$config[OauthClientConstants::OAUTH_PROVIDER_NAME_FOR_MESSAGE_BROKER] = OauthDummyConfig::PROVIDER_NAME;
$config[OauthClientConstants::OAUTH_PROVIDER_NAME_FOR_PAYMENT_AUTHORIZE] = OauthDummyConfig::PROVIDER_NAME;
$config[AppCatalogGuiConstants::OAUTH_PROVIDER_NAME] = OauthDummyConfig::PROVIDER_NAME;
$config[OauthClientConstants::OAUTH_PROVIDER_NAME_FOR_ACP] = OauthDummyConfig::PROVIDER_NAME;

// ----------------------------------------------------------------------------
// ------------------------------ Glue Backend API -------------------------------
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 Commerce OS.
* 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],
];
}
Loading