定制 paysera/lib-wallet-bundle 二次开发

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

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

paysera/lib-wallet-bundle

最新稳定版本:0.1.1

Composer 安装命令:

composer require paysera/lib-wallet-bundle

包简介

Symfony2 bundle for integration with Paysera Wallet API

README 文档

README

Installing

composer require paysera/lib-wallet-bundle

In AppKernel.php:

$bundles = array(
    // other bundles
    new Paysera\Bundle\WalletBundle\PayseraWalletBundle(),
);

Configuring

In config.yml:

If using shared secret:

paysera_wallet:
    client_id: %wallet_api_client_id%
    secret: %wallet_api_secret%

If using certificate credentials:

paysera_wallet:
    client_id: %wallet_api_client_id%
    certificate:
      private_key_path: %kernel.root_dir%/config/keys/wallet.key
      private_key_password: %wallet_api_private_key_password%
      certificate_path: %kernel.root_dir%/config/keys/wallet.crt

Using

$walletApi = $container->get('paysera_wallet_api');
$walletClient = $walletApi->walletClient();

$response = $walletClient->get('client');

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2015-05-07