Code Monkey home page Code Monkey logo

Comments (7)

bg-stripe avatar bg-stripe commented on June 9, 2024 1

Thanks for reporting this! We've got a fix going out soon (should be fixed if you try again in ~an hour) – sorry for the inconvenience!

from stripe-terminal-ios.

jacobrharris avatar jacobrharris commented on June 9, 2024 1

This seems to be fixed. Thanks!

from stripe-terminal-ios.

twelvearrays avatar twelvearrays commented on June 9, 2024

I am getting this error also, but only when I am trying to use a Connect account and using the stripe_account option on the connectionsTokens.create method. Are you using a Connect account?

from stripe-terminal-ios.

jacobrharris avatar jacobrharris commented on June 9, 2024

@twelvearrays We are using Connect, but we've always been using Connect. We used to be able to charge cards left and right.

from stripe-terminal-ios.

suvarnaratna avatar suvarnaratna commented on June 9, 2024

Hi, facing same issue. Can you please tell me how to add "stripeAccount" header from client side.

from stripe-terminal-ios.

twelvearrays avatar twelvearrays commented on June 9, 2024

With the Node SDK this is how I added the header token when creating the connection token.

const token = await stripe.terminal.connectionTokens.create({ stripe_account: stripeAccount })

This is was on an express endpoint that the app called to get the token.

Also another example of when I created a payment intent:
const paymentIntent = await stripe.paymentIntents.create( { amount: amount, currency: 'usd', payment_method_types: [paymentMethodType], capture_method: 'manual' }, { stripe_account: stripeAcctId } )

from stripe-terminal-ios.

jd-stripe avatar jd-stripe commented on June 9, 2024

Thanks for helping out @twelvearrays!

@suvarnaratna Hopefully your question is answered about client side usage of the header. We also have a set of docs on server side usage which may be of assistance in your integration [0].

[0] https://stripe.com/docs/connect/authentication#stripe-account-header

from stripe-terminal-ios.

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.