定制 pimcore/payment-provider-payu 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

pimcore/payment-provider-payu

Composer 安装命令:

composer require pimcore/payment-provider-payu

包简介

Pimcore Payment Provider - PayU

README 文档

README

###Official PayU Documentation

Installation

Install latest version with composer:

composer require pimcore/payment-provider-payu

Enable bundle via console or extensions manager in Pimcore backend:

php bin/console pimcore:bundle:enable PimcorePaymentProviderPayUBundle
php bin/console pimcore:bundle:install PimcorePaymentProviderPayUBundle

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_framework:
    payment_manager:
        providers:
            payment.method.payu:
                provider_id: Pimcore\Bundle\EcommerceFrameworkBundle\PaymentManager\Payment\PayU
                profile: 'sandbox'
                profiles:
                sandbox:
                    pos_id: '1234'
                    md5_key: 'c077211eecaf832644edc5a564a68015'
                    oauth_client_id: '1234'
                    oauth_client_secret: '0c68dfa4f61b65fa534b48d95e1c9d91'

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: PaymentInfo Additional Data

usage sample

<?php
$config = [
    'extOrderId'  => $paymentId,
    'notifyUrl'   => $baseUrl . $this->router->generate('payment_payu_status'),
    'customerIp'  => $clientIp,
    'description' => 'My order',
    'continueUrl' => $baseUrl . $this->router->generate('payment_payu_continue'),
    'order'       => $order
];

$payment->initPayment($price, $config);

统计信息

  • 总下载量: 33
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 7
  • Forks: 2
  • 开发语言: PHP

其他信息

  • 授权协议: GPL-3.0
  • 更新时间: 2021-02-02

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固