#benstjohn
1 messages ยท Page 1 of 1 (latest)
Hello ๐
That shouldn't be happening. Do you have an example PaymentIntent ID I can take a look at?
moving this here for context
We are using "Card Present" but want to accept apple pay and card. Test card seems to work fine
Yes
@slim grove give me one second.
pi_3MTWyd4QXNU7JRrp1YL7rPrR
the "tokenization" into a test card is working, but it's failing the payment for some reason
@slim grove thoughts?
everything looks fine code wise. I'd need some time to reproduce this behavior on my end to see if something is really broken / is this expected.
What do you mean "code wise"
this is based on the example project for iOS for the M2 swiper
just FYI
Right, what I meant was the API call looks fine.
yeah do you know why it would be failing the charge?
is it because we have it set as "card present"?
Apologies for the delay. I think I was wrong earlier. We swap out live card with a test card for test mode web/mobile payments only.
For in-person (card_present) transactions it is different. I'm getting the same error and I asked a colleague too who confirmed the same. To test terminal transaction, you need to use a physical test card. We don't swap out wallet cards with test cards in this flow.
ah shoot - do you think this is something we can have in the future? Unfortunately our test card is broken, wondering if there's anything we can do in the meantime while we wait for a new card to come
Ah I see. Hmm, I think the only alternative here would be to use simulated readers and test using simulated test cards in the meantime.
https://stripe.com/docs/terminal/references/testing#simulated-test-cards
As the readers are equipped to only accept test cards (for any other cards, it would throw an error)
Got it! Thanks
NP! ๐ Again, apologies for the delay