定制 remp/crm-privatbankar-module 二次开发

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

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

remp/crm-privatbankar-module

Composer 安装命令:

composer require remp/crm-privatbankar-module

包简介

CRM Privatbankar Module

README 文档

README

Installation

We recommend using Composer for installation and update management. To add CRM Stripe extension to your REMP CRM application use following command:

composer require remp/crm-privatbankar-module

Enable installed extension in your app/config/config.neon file:

extensions:
	# ...
	- Crm\PrivatbankarModule\DI\PrivatbankarModuleExtension

Seed Privatbankar payment gateway and its configuration:

php bin/command.php application:seed

Configuration & API keys

Enter Stripe API keys to CRM

  • Visit to CRM admin settings (gear icon) - Payments
  • Enter Privatbankar source
  • Enter Privatbankar mode key

You can obtain source by contacting Privatbankar gateway operators directly. You'll be required to enter callback URLs for different scenarios (change the domains based on your configuration):

Using module

Add gateway to your sales funnel configuration - available at funnel detail page in CRM admin. If the gateway is configured correctly, there's nothing else required.

Please be aware, that payment is confirmed only after the Instant Payment Notification (IPN) is received.

Sample funnel

You can test the configuration by using privatbankar-sample funnel, which is seeded during installation. If everything works, don't forget to disable the funnel so it's not accessible in production.

Privatbankar Purchase

Custom confirmation pending message

The message which user sees while he/she waits for the confirmation approval is extendable/replaceable with widgets. You can:

  • In your own module, create new widget and extend the message displayed to user or attach your own behavior.

    public function registerLazyWidgets(\Crm\ApplicationModule\Widget\LazyWidgetManagerInterface $lazyWidgetManager)
    {
        $lazyWidgetManager->registerWidget(
            'privatbankar.return.pending',
            CustomConfirmationWidget::class,
            200
        );
    }
  • In your own module, remove the default widget in case you don't want to display the original "confirmation pending" message.

    public function registerLazyWidgets(\Crm\ApplicationModule\Widget\LazyWidgetManagerInterface $lazyWidgetManager)
    {
        $lazyWidgetManager->removeWidget(
            'privatbankar.return.pending',
            \Crm\PrivatbankarModule\Components\ConfirmationPendingWidget::class,
        );
    }

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2020-05-22

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固