vankosoft/payment-bundle
最新稳定版本:v4.5.6
Composer 安装命令:
composer require vankosoft/payment-bundle
包简介
VankoSoft Symfony Application Extension - Payment Bundle
README 文档
README
I. Register/Initialize Payment Bundle
Add to config/bundles.php
return [ ... Vankosoft\PaymentBundle\VSPaymentBundle::class => ['all' => true], Payum\Bundle\PayumBundle\PayumBundle::class => ['all' => true], ];
Create VsPayment Config config/packages/vs_payment.yaml
vs_payment: resources: gateway_config: classes: model: App\Entity\Payment\GatewayConfig payment_method: classes: model: App\Entity\Payment\PaymentMethod payment: classes: model: App\Entity\Payment\Payment
II. Testing Payum Functinalities
Add Payum Configuration If You Want to Test Something
payum: storages: Payum\Core\Model\Payment: filesystem: storage_dir: '%kernel.project_dir%/var/payum/payments' id_property: number Payum\Core\Model\ArrayObject: filesystem: storage_dir: '%kernel.project_dir%/var/payum/payments' id_property: number security: token_storage: Payum\Core\Model\Token: filesystem: storage_dir: '%kernel.project_dir%/var/payum/gateways' id_property: hash gateways: offline: factory: offline
统计信息
- 总下载量: 1.12k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 0
- 依赖项目数: 4
- 推荐数: 1
其他信息
- 授权协议: MIT
- 更新时间: 2022-03-12