jhv / payment-service-bundle

该包已被废弃,不再维护。未建议替代包。
关于该包最新版本(dev-master)的许可信息不可用。

PaymentServiceBundle

安装: 22

依赖者: 1

建议者: 0

安全: 0

星标: 0

关注者: 0

分支: 0

开放问题: 0

类型:symfony-bundle

dev-master 2013-06-06 19:05 UTC

This package is not auto-updated.

Last update: 2020-01-19 13:08:00 UTC


README

Symfony2 Bundle :: 创建和操作支付方法和“服务或网关”

配置参考

默认配置文件。

# app/config.yml
### JHVPaymentServiceBundle
jhv_payment_service:
	### Template
    default_template: "JHVPaymentServiceBundle:Form:payment_methods.html.twig"

    security:
        secret_key  : "secret key"
        cipher      : "rijndael-256"
        mode        : "cfb"
  
    ### Definição das classes
    classes:
        ### Managers
        plugin_manager            : "JHV\\Payment\\ServiceBundle\\Manager\\PluginManager"
        payment_method_manager    : "JHV\\Payment\\ServiceBundle\\Manager\\PaymentMethodManager"
        
        ### Form
        payment_selector_type     : "JHV\\Payment\\ServiceBundle\\Form\\Type\\PaymentSelectorType"
        payment_selector_factory  : "JHV\\Payment\\ServiceBundle\\Factory\\PaymentFormFactory"
        
        ### Objetos
        payment_method_class      : "JHV\\Payment\\ServiceBundle\\Model\\PaymentMethod"
        payment_instruction_class : "PaymentInstruction"
        
        ### Segurança
        encrypter                 : "JHV\\Payment\\ServiceBundle\\Security\\Encrypter"
        
        ### Twig extension
        twig_extension            : "JHV\\Payment\\ServiceBundle\\Twig\\Extension\\PaymentServiceExtension"
        
            
    ### Formas de pagamento disponíveis
    payment_methods:
        cobrebem_visa:
            code          : "VISA"
            name          : "Cartão visa"
            description   : "Pagamento com o cartão visa"
            enabled       : true
			visible       : true
            plugin        : plugin_name
            image         : /bundles/nome-bundle/images/cartao-visa.jpg
			extra_data    :
                operadora : CIELO