Giter Club home page Giter Club logo

charging-a-saved-card's People

Contributors

adreyfus-stripe avatar cecilphillip-stripe avatar ch-stripe avatar charliegerard-stripe avatar cjavilla-stripe avatar dawn-stripe avatar dependabot[bot] avatar github-actions[bot] avatar operatordevelopment avatar thorsten-stripe avatar tonybastienricher avatar trag-stripe avatar vcheung-stripe avatar

Stargazers

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

Watchers

 avatar  avatar  avatar

charging-a-saved-card's Issues

Typo in online documentation quoting this: Trailing comma

paymentIntent = await stripe.paymentIntents.create({
amount: calculateOrderAmount(),
currency: "usd",
payment_method: paymentMethods.data[0].id,
customer: customer.id,
off_session: true,
confirm: true
});

The online documentation using this as an example here, has a trailing comma:

    const paymentIntent = await stripe.paymentIntents.create({
      amount: 1099,
      currency: 'dkk',
      customer: '{{CUSTOMER_ID}}',
      payment_method: '{{PAYMENT_METHOD_ID}}',
      off_session: true,
      confirm: true,
    });

Proof:
Screen Shot 2019-11-25 at 5 18 45 PM

There's no dotnet option when running stripe samples command

Bug report

Describe the bug

I'm trying to run the samples locally using stripe cli. My command is stripe samples create charging-a-saved-card. After executing I see options for selecting a server platform but there's no option for dotnet

To Reproduce

Steps to reproduce the behavior, please provide code snippets or a repository:

  1. Run stripe samples create charging-a-saved-card command using Stripe CLI
  2. See that there's no dotnet option for server

Expected behavior

dotnet server option is available

Screenshots

image

System information

  • OS: Windows 11
  • Server environment dotnet

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.