You are here

function uc_stripe_libraries_info in Ubercart Stripe 7.3

Same name and namespace in other branches
  1. 7 uc_stripe.module \uc_stripe_libraries_info()
  2. 7.2 uc_stripe.module \uc_stripe_libraries_info()

File

./uc_stripe.module, line 30
A stripe.js PCI-compliant payment gateway Forked from Bitcookie's work (thanks!) which was posted at http://bitcookie.com/blog/pci-compliant-ubercart-and-stripe-js from discussion in the uc_stripe issue queue, https://www.drupal.org/node/1467886

Code

function uc_stripe_libraries_info() {
  $libraries['stripe'] = array(
    'name' => 'Stripe PHP Library',
    'vendor url' => 'http://stripe.com',
    'download url' => 'https://github.com/stripe/stripe-php/releases',
    'download file url' => 'https://github.com/stripe/stripe-php/archive/v6.38.0.tar.gz',
    'version arguments' => array(
      'file' => 'VERSION',
      'pattern' => '/(\\d+\\.\\d+\\.\\d+)/',
    ),
    'versions' => array(
      '6.38.0' => array(
        'files' => array(
          'php' => array(
            'init.php',
          ),
        ),
        'stripe_api_version' => '2019-05-16',
      ),
    ),
  );
  return $libraries;
}