Giter VIP home page Giter VIP logo

chargebee-js-types's Introduction

Chargebee.js Types

This package contains type definitions for Chargebee JS browser SDK. If your are looking for Chargebee.js components head to framework wrappers.

Install

npm install --save-dev @chargebee/chargebee-js-types

Support

Have any queries regarding the implementation? Reach out to [email protected]

chargebee-js-types's People

Contributors

cb-bharathvaj avatar cb-farhanh avatar cb-rk avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

chargebee-js-types's Issues

validateVat always returning status:undefined

When running this example:
https://www.chargebee.com/checkout-portal-docs/eu-vat-validation-function.html#integration

 let cbInstance = Chargebee.getInstance();
  charegbeeInstance.load('functions').then(() => {
    const payload = {
          country: "DE",
          vat_number: "811569869",
        }
    cbInstance.vat.validateVat(payload).then(data => {
      // Your code here
    }).catch(err => {
      // Your code here
    })
  });

I'm always getting {status: undefined} as result.

Playground as example https://jsfiddle.net/r27panuv/

Missing properties and fields

I know this package was just updated but I am still seeing some definitions which don't match the Chargebee.js API docs.

For example, in the docs Chargebee.init shows publishableKey as an optional field and several other properties such as enableRedirectMode and domain are included. Also, Chargebee.getPortalSections and Chargebee.registerAgain are not defined in this package.

Thank you for the work you've already done and I look forward to using this package when it is complete.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.