定制 beyerz/check-book-io-bundle 二次开发

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

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

beyerz/check-book-io-bundle

Composer 安装命令:

composer require beyerz/check-book-io-bundle

包简介

Symfony support for checkbook.io platform

README 文档

README

Packagist Minimum PHP Version Build Status

CheckBookIOBundle

The CheckBookIOBundle provides symfony support for checkbook.io API.

Installation

Composer

composer require beyerz/check-book-io-bundle

Application Kernel

Add SimpleHMVC to the registerBundles() method of your application kernel:

public function registerBundles()
{
    return array(
        new Beyerz\CheckBookIOBundle\CheckBookIOBundle(),
    );
}

Config

config.yml

check_book_io:
    publishable_key:  "%checkbook_publishable_key%"       # public_key
    secret_key:       "%checkbook_secret_key%"            # private_key
    sandbox:          "%checkbook_sandbox%"               # use sandbox mode
    debug:            "%checkbook_debug%"                 # use debug mode
    merchant_name:    "%checkbook_merchant_name%"         # merchant name to use
    oauth:
      client_id:      "%checkbook_oauth_client_id%"
      handler:        path\to\custom\response\handler

Documentation

Using the bundle is extremely simple... anywhere that has access to container and services

$checkBook = $this->getContainer()->get('checkbook.model');

Boom!! You now have a facade to access all the Checkbook API Endpoints.

OAuth

Explained in detail here

Bonus Feature

Embedded form check

To use the embeded form check you should populate the Beyerz\CheckBookIOBundle\Context\EmbeddedCheckContext and pass it to your twig template. Then use {{ embedded_check(context) }} where context is the Beyerz\CheckBookIOBundle\Context\EmbeddedCheckContext This will automatically generate the checkbook button.

License

This bundle is under the MIT license. See the complete license in the bundle

Reporting an issue or feature request

Issues and feature requests are tracked in the Github issue tracker.

When reporting a bug, it may be a good idea to reproduce it in a basic project built using the Symfony Standard Edition to allow developers of the bundle to reproduce the issue by simply cloning it and following some steps.

Disclaimer

Other than being a client, I have no connection to or with checkbookIO or any of its employees. Furthermore, the bundle comes as is and I cannot guarantee that the bundle will be updated with any changes that are done by checkbook, and if updates are done, how long they will take to be implemented and released. Like it or leave, but that's the reality. Enjoy and Play Safe!!

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2016-12-21

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固