stripe icon indicating copy to clipboard operation
stripe copied to clipboard

Discover multiple readers with different methods

Open kyleabens opened this issue 1 year ago • 1 comments

Not sure if it's possible in it's current state (doesn't look like it is) but can we please discovery multiple readers at once so we can list all options. I'm currently trying to do the following but doesn't seem to work.

const tapToPay = await StripeTerminal.discoverReaders({
        type: TerminalConnectTypes.TapToPay,
        locationId: ***********
      });

      const bluetooth = await StripeTerminal.discoverReaders({
        type: TerminalConnectTypes.Bluetooth,
        locationId: ***********
      });

      const internet = await StripeTerminal.discoverReaders({
        type: TerminalConnectTypes.Internet,
        locationId: ***********
      });

kyleabens avatar Aug 29 '24 20:08 kyleabens