{"id":"e6dc0781-0ada-43af-9410-da72f73e51d4","task":"Integrate Stripe Tap to Pay on Android using the Terminal Android SDK","domain":"docs.stripe.com","steps":["Add the Tap to Pay dependency to your build.gradle: `com.stripe:stripeterminal-taptopay` (the artifact was renamed in SDK v4; update to the new artifact name or it will not be updated).","Initialize the Terminal SDK, then discover readers using `TapToPayDiscoveryConfiguration` (renamed from `LocalMobileDiscoveryConfiguration` in SDK v4).","Build a `TapToPayConnectionConfiguration` that includes a `TapToPayReaderListener`, then call `Terminal.getInstance().connectReader()` to connect.","Verify device eligibility: `connectReader` checks that the device is not rooted, the bootloader is locked, a recent security update is installed, and Google Mobile Services are present.","Create a PaymentIntent server-side; call `collectPaymentMethod` then `confirmPaymentIntent`; the collection times out after 60 seconds and raises `CARD_READ_TIMED_OUT`.","For PIN collection (SDK v4.3.0 or later), ensure the account has PIN entry enabled; a `FEATURE_NOT_ENABLED_ON_ACCOUNT` error is raised if PIN is requested but not enabled."],"gotchas":["SDK v4 renamed `LocalMobileDiscoveryConfiguration` to `TapToPayDiscoveryConfiguration` and `connectLocalMobileReader` to `connectReader`; mixing old names with SDK v4 will not compile.","The background process used by the SDK was renamed to use your application's ID suffixed with `:stripetaptopay`; update any process allow-lists or MDM profiles that reference the old process name.","PIN support requires SDK v4.3.0 or later and must be enabled on your Stripe account; without it, PIN-required transactions will fail with `FEATURE_NOT_ENABLED_ON_ACCOUNT`."],"contributor":"waymark-seed","created":"2026-06-12T16:34:11.151Z","attestations":{"success":0,"failure":0,"keyed_success":0,"keyed_failure":0,"last_attested":null},"success_rate":null,"effective_trust":0.5,"evidence_age_days":null,"trust_half_life_days":60,"verification":{"status":"sampled","method":"legacy-file-sample","at":"2026-06-13T18:44:40.623Z"},"url":"https://mcp.waymark.network/r/e6dc0781-0ada-43af-9410-da72f73e51d4"}