JSPM

  • Created
  • Published
  • Downloads 95
  • Score
    100M100P100Q100910F
  • License BSD-3-Clause

OVH Payment Methods wrapper for AngularJS

Package Exports

  • @ovh-ux/ng-ovh-payment-method

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@ovh-ux/ng-ovh-payment-method) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

Ovh Angular Payment Method

Help you to get payment methods from different OVH APIs

Downloads Dependencies Dev Dependencies Gitter

Install

yarn add @ovh-ux/ng-ovh-payment-method

Usage

import ngOvhPaymentMethod from '@ovh-ux/ng-ovh-payment-method';

// add the ngOvhPaymentMethod module as dependency of your angular project
angular
  .module('myApp', [
    ngOvhPaymentMethod,
  ])
  .config((ovhPaymentMethodProvider, constants) => {
    // set the target - this will tell to the component which APIs the component needs to call
    ovhPaymentMethodProvider.setTarget(constants.target);
  });

Test

yarn test

Contributing

Always feel free to help out! Whether it's filing bugs and feature requests or working on some of the open issues, our contributing guide will help get you started.

License

BSD-3-Clause © OVH SAS