fond-of-oryx / payone-secure-invoice
实现了使用Spryker与Payone Secure Invoice相关的必要业务逻辑。
2.0.0
2023-01-20 14:07 UTC
Requires
- php: >=8.0
- spryker-eco/payone: dev-master-fondof as 4.4.2
Requires (Dev)
This package is auto-updated.
Last update: 2024-08-27 12:32:51 UTC
README
要使用Payone Secure Invoice,服务提供商要求使用一个专门的支付门户以实现安全发票。本软件包包含一个插件,允许通过配置添加这些凭证。
安装
免责声明: 目前此插件只能与我们的Spryker Payone Fork一起使用。具体分支是 feature/dedicated-invoice-credentials
。
composer require fond-of-oryx/payone-secure-invoice
通过将其添加到依赖提供者中启用插件
Pyz\Zed\Payone\Business\PayoneDependencyProvider::getStandardParameterMapperPlugins() { return [ new SecureInvoiceDedicatedCredentialsPlugin(), ]; }
配置
插件期望添加以下配置
$config[PayoneSecureInvoiceConstants::PAYONE_SECURE_INVOICE_CREDENTIALS] = [ PayoneSecureInvoiceConstants::PAYONE_CREDENTIALS_AID => '13245', PayoneSecureInvoiceConstants::PAYONE_CREDENTIALS_PORTAL_ID => '54321', PayoneSecureInvoiceConstants::PAYONE_CREDENTIALS_KEY => '123test', ];
将凭证替换为您的特定Payone Portal凭证。