2017 © Pedro Peláez
 

symfony-bundle billing-partner-bundle

Billing helper

image

laxcorp/billing-partner-bundle

Billing helper

  • Wednesday, July 4, 2018
  • by LaxCorp
  • Repository
  • 1 Watchers
  • 0 Stars
  • 225 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 17 Versions
  • 55 % Grown

The README.md

Billing partner helper

Install

composer require laxcorp/billing-partner-bundle, (*1)

Add in app/AppKernel.php

$bundles = [
    new LaxCorp\BillingPartnerBundle\BillingPartnerBundle(),
    new Circle\RestClientBundle\CircleRestClientBundle(),
    new Symfony\Bundle\MonologBundle\MonologBundle(),
];

And add in config.yaml, (*2)

billing_partner:
    url: 'https://billing.site:port'
    login: 'billing_api_user'
    password: 'billing_api_password'
circle_rest_client:
    curl:
      defaults:
        CURLOPT_HTTPHEADER:     [ "Content-Type: application/json" ]
        CURLOPT_FOLLOWLOCATION: true
        CURLOPT_SSL_VERIFYPEER: false
        CURLOPT_SSL_VERIFYHOST: 0
        CURLOPT_SSLVERSION: false
        CURLOPT_CONNECTTIMEOUT: 3600

The Versions