Socket
Socket
Sign inDemoInstall

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

Package Overview
Dependencies
89
Maintainers
8
Versions
97
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

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

Get payment methods from different OVHcloud APIs


Version published
Weekly downloads
7
decreased by-61.11%
Maintainers
8
Created
Weekly downloads
 

Readme

Source

ng-ovh-payment-method

Set of angularJS service and components in order to deal with OVHcloud payment methods.

npm version Downloads Dependencies Dev Dependencies

Install

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

Usage

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

// add the `ngOvhPaymentMethod` module as dependency of your AngularJS project.
angular.module('myApp', [ngOvhPaymentMethod]).config(
  /* @ngInject */ (ovhPaymentMethodProvider) => {
    // Set the url of payment method list page, where the user
    // should be redirected when he has no default payment method.
    ovhPaymentMethodProvider.setPaymentMethodPageUrl(constants.target);

    // set user locale
    ovhPaymentMethodProvider.setUserLocale('fr_FR');
  },
);

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

Keywords

FAQs

Last updated on 25 Mar 2024

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc