Skip to content

[Mobile Payments] Switching store to one which is not set up for TOM leads to a connection loop #8290

@joshheald

Description

@joshheald
  1. I have 2 different Woo accounts. If I use Tap to Pay in a store in one of those accounts, log out, and login to the other account, I can't set up Tap to Pay -- I just get stuck in a loop. I can even get myself into a situation where the cancel button doesn't work and I have to close the app to do anything. (In this video, I'm not tapping anything.)
RPReplay_Final1669922756.MP4

Originally posted by @lmischner in #8273 (comment)

Nice catch! It only seems to happen when the second store isn't set-up for Tap on iPhone, it lets me take a payment if I try and repro it using two stores which I've been through the set-up flow for already.

My first instinct was that we'd need to disconnect the reader when the store changes... but I was surprised that's not already handled for bluetooth readers. It looks like it is handled, as we're not connected to the built-in reader when we go to the set-up flow for the second reader.

I checked what happens when I disconnect the built-in reader in Manage card readers before switching stores, and the issue still shows up then.
@joshheald

Metadata

Metadata

Assignees

Labels

feature: mobile paymentsRelated to mobile payments / card present payments / Woo Payments.type: bugA confirmed bug.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions