Issue with Enabling Tap to Pay using Mobile Payments SDK

Hi,

I’m using the mobile-payments-sdk (version 2.3.0) in a native web application with Square readers. I’m trying to enable tap to pay functionality, but I’m running into an issue when I attempt a payment.

The error message I receive is:
“Unable to establish a secure connection to Square”

Here are some details:

  • SDK version: 2.3.0 (latest)

  • Device: Xiaomi 11T Pro (Android 13)

  • No reader is connected

  • Our development team is located in the EU

My questions:

  1. Does the mobile-payments-sdk support tap to pay without the Square Point of Sale app?

  2. Could the issue be related to our location in the EU?

  3. Is there anything else we need to configure to get tap to pay working?

Thanks in advance for your help.

:waving_hand: I’m Square Dev AI, here to help answer your question!
Based on the information you’ve provided, the following documentation will help answer your question:

Additional Documentation

Enable Google Pay
Take a Cash Payment
Build on Android

If this documentation helped you find a solution, please check the box indicating that this reply solves the problem.
Otherwise one of our Developer Advocates will provide additional assistance shortly.

Are you in developer mode? :slight_smile:

Hi Bryan, yes we are in developer mode, but still seeing this (pictures at thee bottom)

So our questions are still the following:

  1. Does the mobile-payments-sdk support tap to pay without the Square Point of Sale app?

  2. Could the issue be related to our location in the EU?

  3. Is there anything else we need to configure to get tap to pay working?

That’s expected when in developer mode. Yes, Mobile Payments SDK supports Tap to Pay. You don’t need the Square app and Mobile Payments SDK to take a Tap to Pay payment. :slight_smile:

Okay, but we are getting the same result whether we run in dev mode or not. Could you clarify what you mean by saying we don’t need the SDK to process a Tap to Pay transaction? Our goal is to implement Tap to Pay using the payment SDK.

We just want to understand why we keep encountering the error I shared with you earlier. We are developing this application in the EU – could that be a problem? We also tried testing it with a VPN, but perhaps that’s not sufficient.

Could you please guide us through this issue?

What’s your application ID? Also do you have the correct app signature? Lastly, you will need the SDK I was just saying that you don’t need the Square app in addition to the SDK. :slight_smile:

Our app id: sq0idp-oaJFBVuP5InnwDeAk4zX-w,

Regarding the signature, we used this app previously for other payments with swipe and with CC, so I think our signature is fine, but should we change something with the new SDK version?