#yasmin-green_unexpected

1 messages ยท Page 1 of 1 (latest)

vapid emberBOT
#

๐Ÿ‘‹ 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/1331679938880864308

๐Ÿ“ Have more to share? Add more details, code, screenshots, videos, etc. below.

south urchin
#

Additional information:
We have one stripe account with multiple sandboxes and I am testing in one of those sandboxes. The cards were purchased from the main account and not from the sandbox I am testing in - could this affect things?

left fable
#

Hello! The account you purchased the test card from shouldn't matter, the test cards are all the same. What version of the Terminal SDK are you using? Also, which test card(s) are you using?

south urchin
#

So we are using @capacitor-community/stripe-terminal at 6.4.3 which uses StripeTerminal at 4.1.0

#

These are the test cards we are using

left fable
#

So the Interac test card doesn't support contactless payments, so that one is expected to not work. Is that the one you're having issues with?

south urchin
#

Both are not recognised

left fable
#

So the regular one (the one with the blue stripes)... what exactly happens when you tap it? What's shown on the device's display?

south urchin
#

Ahhh maybe it's because I was trying to test paying with CAD (therefore the payment_method_types object includes interac_present)??

#

Should I test with USD instead then?

left fable
#

Ah, yep. If you're only doing Interac the regular test card won't work.

south urchin
#

Ok let me test just card_present then, I will get back to you. Thank you

left fable
#

Happy to help!

south urchin
#

Ok so that didn't work either. Here is the request ID from the PI created req_Hs2NIVjJTR6h4D.
Then this is what I see for the TTP screen. Tapping the "Stripe Terminal Test Card" against the phone didn't do anything and I couldn't see anything in the logs.

left fable
#

What make and model of device are you running this on?

south urchin
#

I tested on iPhone 15 Pro iOS 18.2 and Pixel 7 Android 14

#

Bluetooth, NFC etc all turned on

left fable
#

So in the screenshot it looks like you're testing in a simulator. Is that a screenshot from the physical device?

south urchin
#

Correct, that's the android device plugged into my laptop

left fable
#

Hm...

south urchin
left fable
#

Yeah, I dunno. Since you're having the issue on two separate devices and two separate operating systems I don't know why this would be happening. Have you reached out to the @capacitor-community/stripe-terminal folks for help?

south urchin
#

I haven't yet but I will, thank you.

left fable
#

I think everything on the Stripe side of things is working as far as I can tell, especially now that the Interac bit was sorted out.

south urchin
#

Yeah when I tap the screen to simulate payment it all works great, it's just the test cards

left fable
#

Wait...

#

Wait.......

#

Is that how @capacitor-community/stripe-terminal is intented to work? Like is that message on the screen saying to tap the card, or is it instructions to tap with your finger?

#

That message on the screen doesn't say tap card to simulate payment, and if tapping with your finger works that might be how it's designed to work.

south urchin
#

Ahh is this screen not the default StripeTerminal TTP screen?

left fable
#

No. I thought it was different because you're using @capacitor-community/stripe-terminal but now I'm thinking it's different because it's not actually using Tap to Pay at all right now.

south urchin
#

Ohhhh ok damn, I will reach out to capacitor-community then!!

#

Thank you, this is super helpful to know

left fable
#

But instead of the tap/NCF icon you have that banner.

#

So I think it's a fake screen. ๐Ÿ˜…

south urchin
#

Ohhh ok that makes sense, so it has to be the plugin then. Wow ok ahaha

#

Thank you!!

left fable
#

I'm really glad you mentioned tapping it without the card made it work!

south urchin
#

Ok if I figure it out I will get back to you just incase someone else asks this question. Thank you for your help