Giter Site home page Giter Site logo

Allow to setup API baseURL about stripe-js HOT 3 CLOSED

Sembauke avatar Sembauke commented on August 20, 2024
Allow to setup API baseURL

from stripe-js.

Comments (3)

brendanm-stripe avatar brendanm-stripe commented on August 20, 2024

This package is a helper module for Stripe.js, which does not support using other API hosts, so that would not be possible to add here. I don't expect this to be something that gets added to the underlying Stripe.js functionality (similar to previous request around this).

Are you perhaps looking for stripe-node for a Node backend SDK? Using that, you can set the host during initialization (docs).

from stripe-js.

Sembauke avatar Sembauke commented on August 20, 2024

Thanks for your message @brendanm-stripe, I must have misunderstood the purpose of the module. Could you explain how it works a little?

Also, could you explain why adding a different base url wouldn't be possible? Not that I do not want to use stripe-node instead.

from stripe-js.

brendanm-stripe avatar brendanm-stripe commented on August 20, 2024

It's not possible to override the base url because this is not supported (and not expected to be added to) the underlying Stripe.js SDK. This module is a helper/wrapper for loading that Stripe.js SDK conveniently in module-based apps & build systems, and aims to provide TypeScript typings for it.

from stripe-js.

Related Issues (20)

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.