Skip to content

enableCustomerCancellation = true prevents collectPaymentMethod on simulator / iOS Tap to Pay #301

@chrisbianca

Description

@chrisbianca

Summary

Setting enableCustomerCancellation to TRUE when using the iOS simulator or the Tap to Pay reader, results in collectPaymentMethod giving the following error: This feature is currently not available for the selected reader. This works fine with a physical reader (WisePOS E).

This means that different code paths have to be used dependent on the type of reader being used.

Setting the same flag to TRUE when calling collectSetupIntent does not exhibit the same behaviour.

Code to reproduce

--

iOS version

17.4.0

Installation method

Cocoapods (as part of the Terminal React Native SDK)

SDK version

3.4.0 (via React Native SDK version 0.0.1-beta.17)

Other information

I opted to log the issue here rather than in the Stripe React Native Terminal SDK repository as it appears to be an error in the underlying iOS SDK rather than in the React Native wrapper.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Tap to PayIssues with Tap to Pay using Apple hardware

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions