pimcore/payment-provider-datatrans
Composer 安装命令:
composer require pimcore/payment-provider-datatrans
包简介
Pimcore Payment Provider - Datatrans
README 文档
README
Official Datatrans Documentation
Installation
Install latest version with composer:
composer require pimcore/payment-provider-datatrans
Enable bundle via console or extensions manager in Pimcore backend:
php bin/console pimcore:bundle:enable PimcorePaymentProviderDatatransBundle php bin/console pimcore:bundle:install PimcorePaymentProviderDatatransBundle
Configuration
The Payment Manager is responsible for implementation of different Payment Provider to integrate them into the framework.
For more information about Payment Manager, see Payment Manager Docs.
Configure payment provider in the pimcore_ecommerce_config.payment_manager config section:
pimcore_ecommerce_config: payment_manager: providers: datatrans: # service ID of payment provider implementation provider_id: Pimcore\Bundle\EcommerceFrameworkBundle\PaymentManager\Payment\Datatrans # active profile - you can define multiple profiles in the section below profile: sandbox # available profiles with options - options vary on the provider implementation as the profiles: sandbox: merchant_id: 1000011011 sign: 30916165706580013 use_digital_signature: false live: merchant_id: merchant_id_id sign: sign_id use_digital_signature: false mode: live
Payment Information: Order payment section "Payment Informations" stores information about every payment trial by Customer.
Add additional fields in "PaymentInfo" fieldcollection, so that Order Manager stores information in Order object:

It's possible to make an authorisation and clearing in one step. Default behavior is authorisation only. For automatic clearing set the option "reqtype" to "CAA"
<?php $url = 'http://'. $_SERVER["HTTP_HOST"] . "/en/checkout/payment-status?mode="; $config = [ // checkout config 'language' => $language , 'refno' => $paymentInformation->getInternalPaymentId() , 'useAlias' => true , 'reqtype' => 'CAA' // Authorisation and settlement // system , 'successUrl' => $url . 'success' , 'errorUrl' => $url . 'error' , 'cancelUrl' => $url . 'cancel' ];
pimcore/payment-provider-datatrans 适用场景与选型建议
pimcore/payment-provider-datatrans 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 16.29k 次下载、GitHub Stars 达 0, 最近一次更新时间为 2021 年 02 月 02 日, 在 PHP 生态内属于活跃度较高的组件。
我们在过去多个企业项目中使用过 pimcore/payment-provider-datatrans 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 pimcore/payment-provider-datatrans 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
统计信息
- 总下载量: 16.29k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 13
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: GPL-3.0
- 更新时间: 2021-02-02