#mattiaferrari_code
1 messages ¡ Page 1 of 1 (latest)
đ Welcome to your new thread!
â˛ď¸ We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question.
âąď¸ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always start a new thread if you have another question.
đ This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1397947540284116993
đ Have more to share? Add more details, code, screenshots, videos, etc. below.
Below are links to other discussions we've had with you in the past week in case you want to review that information. If your question is related to one of these previous discussions, please provide a comprehensive summary of the current state and what you need help with now. We help many users simultaneously, so a summary allows us to resolve your issue as soon as possible.
- mattiaferrari_error, 5 days ago, 49 messages
I am using stripeterminal android sdk version 3.5.0
hey there, taking a look
I know there was an SDK issue with google play integrity checks last year, so i suspect you might need to update your SDK version
trying to find info on that
Ah yea, part of the 4.0.0 release notes: https://github.com/stripe/stripe-terminal-android/blob/master/CHANGELOG.md#400---2024-10-31
Update: SafetyNet Attestation API has been removed and replaced with Play Integrity API. Fixes issue 458.
Ok so wait, so you are basically telling me that tap to pay no longer works with sdk version lesser than 4.0.0?
Not according to the docs here: https://docs.stripe.com/terminal/payments/setup-reader/tap-to-pay?platform=android#getting-started
But issues related to attestation/integrity checks might change that.
org.chromium.net.impl.NetworkExceptionImpl: Exception in CronetUrlRequest: net::ERR_NAME_NOT_RESOLVED
this part suggests there might be a network issue with your device reaching Google's integrity service/servers
SafetyNet was disabled in January 2025: https://developer.android.com/privacy-and-security/safetynet/deprecation-timeline
Oh ok
So in the end tap to pay won't work if the sdk version is less than 4.0.0 due to this api
It's possible, though that may depend on your app & related integrity checks.
I would suggests trying to the update to see if it resolves your issue, and note that 4.5.0 surfaces better errors related to attestation/integrity checks:
https://github.com/stripe/stripe-terminal-android/issues/580#issuecomment-2913066378
Sounds good. Because this error is being reported directly to us by the Play Integrity API, I don't have any remediation suggestions other than what's recommended by Google for this error code: https://developer.android.com/google/play/integrity/error-codes
In Terminal SDK 4.5.0 you'll start to receive a more useful exception message from connectReader() when encountering a failure mode like this. I'll update this thread once this version is available.
from the 4.5.0 changelog:
Tap to Pay
Updates
Improved messaging for Play Integrity API failures during the reader connection process. Fixes issue 580.