Skip to content

[Mobile Payments] Restore ability to show tap/insert/swipe card prompt #8116

@joshheald

Description

@joshheald

In #8115, we use waitingForInput as the trigger in CollectOrderPaymentUseCase to show the Reader is ready alert. This may also show when there are specific requests to use a different card read method.

When I checked the code, this was a pre-existing issue, as there was no way for the waitingForInput action to pass on the specific instruction from the SDK, e.g. insert card.

We should restore this ability though, as it looks like it was intended and may cause confusion in the current state.

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