laxcorp/billing-partner-bundle

Billing helper

v7.0.3 2021-06-10 05:49 UTC

README

Install

composer require laxcorp/billing-partner-bundle

Add in app/AppKernel.php

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

And add in config.yaml

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