#thiagomacauba88

1 messages · Page 1 of 1 (latest)

sage fossilBOT
muted heart
#

Hey! What's the question?

hot wind
#

Hey Ynnoj, how are you?

#

I can't recognize any contact less device (cards, iphones...)

#

The tap to pay screen is showed, but nothing happens

muted heart
#

What device(s) are you running on? What version(s) of iOS?

#

Is there any errors thrown?

hot wind
#

iOS 16, but a credit card with contact less should be work, right?

#

stuck on collectPaymentMethod, after this tap to pay screen appears, and after some time the issue(Unable to start reader)

muted heart
#

Is there an error thrown by collectPaymentMethod?

#

This is in test mode right?

hot wind
#

yes

#

The error shows up when a tap in ok (Unable to start a reader)

#

collectPaymentMethod failed: Error Domain=com.stripe-terminal Code=6500 "The reader declined the transaction. Try another card." UserInfo={com.stripe-terminal:ReaderMessage=An error occured when reading the card., NSLocalizedDescription=The reader declined the transaction. Try another card., com.stripe-terminal:Message=The reader declined the transaction. Try another card.}

muted heart
#

Are you using Terminal test cards or a real card?

hot wind
#

real card and another iphone

#

seems like he cant recognize another (card/iphone)

muted heart
#

I suspect you need to use the Terminal test cards in test mode

#

Is it the same error from the phone?

hot wind
#

same thing, didn't recognize anything

#

I'm recording the whole flow, a sec

hot wind
#

I need to upload in a drive, is not possible send here

muted heart
#

Does the SDK throw an error when you trying to use Apple/Google Pay?

hot wind
#

Can you check the video pls?

muted heart
#

I don't have access

hot wind
#

I don't think is this a real issue, I don't have any feedback from this

muted heart
#

Can you make the video public so I can view it?

hot wind
#

where can i upload the video?

muted heart
#

As I explained, it won't work with real credit cards in test mode. You need Terminal test cards

hot wind
#

with another iphone should be work?

#

because it's the same thing

muted heart
#
  • Which model is the other device?
  • Which OS?
  • Is it Google Pay/Apple Pay?
  • Are there any errors thrown in your collectPaymentMethod call when using the other device?
hot wind
#
  • Which model is the other device?
#

iPhone 12

#
  • Which OS?
#

both 16

#
  • Is it Google Pay/Apple Pay?
#

Apple Pay

#
  • Are there any errors thrown in your collectPaymentMethod call when using the other device?
#

I'm stuck in there "waiting for a connection"

#

after a couple of second that issue that i sent

muted heart
hot wind
muted heart
hot wind
#

Yes, We already have a stripe terminal implemented

#

the linnk that a post the video

#

is it no possible to you open?

#

I put the whole flow there

muted heart
#

Yes, but there's differences between the connection for a Terminal reader and a Tap to Pay device

hot wind
#

yes I know, I did the changes

muted heart
#

Can you share your discoverReadersAction function

hot wind
#

ok, 1 se

#

func discoverReaders() {
self.cancelDiscoveryReader()
self.tableView.isHidden = true
self.indicator.startAnimating()
let config = DiscoveryConfiguration(discoveryMethod: .localMobile, simulated: false)
config.timeout = 5
cancelable = Terminal.shared.discoverReaders(config, delegate: self) { error in
self.tableView.isHidden = false
if let error = error {
print(error.localizedDescription)
self.tableView.reloadData()
}
self.indicator.stopAnimating()
}
}

muted heart
#

Which version of the iOS SDK are you using?

muted heart
#

Can you share the ID of a Payment Intent you're trying to process? pi_xxx

hot wind
#

pi_3MBchLLHApDCvUBn1uAxXi0p_secret_gjEZl3mHmTkFzuXz3NjmmsB7q

#

i have this one after retrievePaymentIntent

#

pi_3MBchLLHApDCvUBn1uAxXi0p

#

Terminal.shared.collectPaymentMethod(retrievedIntent) { intent, err in
if let error = err {
print("collectPaymentMethod failed: (error)")
HUD.flash(.labeledError(title: nil, subtitle: error.localizedDescription), delay: 4)
} else if let paymentIntent = intent {
print("collectPaymentMethod succeeded")
self.processPayment(paymentIntent)
}
}

muted heart
hot wind
#

nops

supple kernel
#

hmm, I'd suggest writing to https://support.stripe.com/?contact=true a detailed email with all the context like the exact code/the videos and the PaymentIntent IDs and we can try to dig in in more detail

hot wind
#

ok

#

is it dark insn't it?