xlabs/centrobillbundle 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

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

xlabs/centrobillbundle

最新稳定版本:5.0.1

Composer 安装命令:

composer require xlabs/centrobillbundle

包简介

CentroBill wrapper bundle

README 文档

README

An CentroBill wrapper.

Installation

Install through composer:

php -d memory_limit=-1 composer.phar require xlabs/centrobillbundle

In your AppKernel

public function registerbundles()
{
    return [
    	...
    	...
    	new XLabs\CentroBillBundle\XLabsCentroBillBundle(),
    ];
}

Routing

Append to main routing file:

# app/config/routing.yml
  
x_labs_centrobill:
    resource: .
    type: xlabs_centrobill_routing

Configuration sample

Default values are shown below:

# app/config/config.yml

x_labs_centro_bill:
    url: 'https://www.bikinifanatics.com'
    site_name: ['bikinifanatics.com'] # CentroBill site name array
    url_prefix: /centrobill
    postback_url: /postback
    return_url: /response
    onetime_purchase_url: /oneclick
    api:
        key: XXXXXXXXX
        url: 'https://api.centrobill.com'
        ttl: 1200
    logging:
        enabled: true
        location: '%kernel.logs_dir%/'
    allowed_ips: ['xx.xx.xx.xx']
    mail_notifications:
        enabled: true
        subject: 'BikiniFanatics'
        from: 'centrobillpostback@bikinifanatics.com'
        destinataries: ["xavi.mateos@manicamedia.com"]

Update allowed IPs

php bin/console xlabs:centrobill:update_ips

Update feed

Set a cronjob as much frequent as possible, maybe every 2-4h; Trial2Full members will depend on this feed.

php bin/console xlabs:centrobill:feed

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2023-04-12

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固