Code Monkey home page Code Monkey logo

Comments (3)

bric-stripe avatar bric-stripe commented on June 26, 2024 1

Hi, it looks like the location being connected to isn't configured for offline mode. Now that offline mode is in public beta (as of 3.2.0), you must enable offline mode using the configuration API.

If you currently are not using configurations, you'll have a default configuration that you can find with:

curl https://api.stripe.com/v1/terminal/configurations?is_account_default=true -u $SECRET_KEY:

Use the configuration ID, and then you can enable offline for that configuration.

curl https://api.stripe.com/v1/terminal/configurations/<configuration_id> -u $SECRET_KEY: -d "offline[enabled]"=true

See also these docs:
https://stripe.com/docs/terminal/features/operate-offline/collect-payments?terminal-sdk-platform=ios#enable-offline-mode

After enabling offline via the config API, connect to the reader while online to refresh the SDK's settings. Then, you should be able to collect offline payments once again.

from stripe-terminal-ios.

jonhcbs avatar jonhcbs commented on June 26, 2024 1

It works, forgot to replay days ago. thanks much.

from stripe-terminal-ios.

bric-stripe avatar bric-stripe commented on June 26, 2024

closing this out but please re-open if still seeing this after confirming the location in use has the expected config applied.

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.