fond-of-oryx/gift-card-payment-connector
Composer 安装命令:
composer require fond-of-oryx/gift-card-payment-connector
包简介
n/a
README 文档
README
Description
Module provides a configuration for payment methods that are NOT available within gift-cart as payment-method.
Installation
composer require fond-of-oryx/gift-card-payment-connector
Configuration
Register GiftCardPaymentConnectorPaymentMethodFilterPlugin in your PaymentDependencyProvider at getPaymentMethodFilterPlugins()
/**
* @return \Spryker\Zed\PaymentExtension\Dependency\Plugin\PaymentMethodFilterPluginInterface[]
*/
protected function getPaymentMethodFilterPlugins(): array
{
return [
new GiftCardPaymentConnectorPaymentMethodFilterPlugin(),
];
}
After that you need to configure which payment-method you want to block while using gift-card as payment-method i.e.
$config[GiftCardPaymentConnectorConstants::NOT_ALLOWED_PAYMENT_METHODS] = [
'prepaymentPrepayment',
];
统计信息
- 总下载量: 15.36k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2021-11-05