#thiagomacauba88
1 messages · Page 1 of 1 (latest)
Hey! What's the question?
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
What device(s) are you running on? What version(s) of iOS?
Is there any errors thrown?
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)
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.}
Are you using Terminal test cards or a real card?
I suspect you need to use the Terminal test cards in test mode
Is it the same error from the phone?
I need to upload in a drive, is not possible send here
Access Google Drive with a Google account (for personal use) or Google Workspace account (for business use).
Does the SDK throw an error when you trying to use Apple/Google Pay?
You should order some physical test cards: https://stripe.com/docs/terminal/references/testing#physical-test-cards
Can you check the video pls?
I don't have access
I don't think is this a real issue, I don't have any feedback from this
Can you make the video public so I can view it?
As I explained, it won't work with real credit cards in test mode. You need Terminal test cards
- Which model is the other device?
- Which OS?
- Is it Google Pay/Apple Pay?
- Are there any errors thrown in your
collectPaymentMethodcall when using the other device?
- 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
Is the device/app configured for Tap to Pay? https://stripe.com/docs/terminal/payments/setup-reader/tap-to-pay-on-iphone#entitlements-build-file
And you've follow the steps here to establish a connection for the reader/device? https://stripe.com/docs/terminal/payments/connect-reader?terminal-sdk-platform=ios&reader-type=tap-to-pay-on-iphone
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
Yes, but there's differences between the connection for a Terminal reader and a Tap to Pay device
yes I know, I did the changes
Can you share your discoverReadersAction function
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()
}
}
Which version of the iOS SDK are you using?
the last time I talked: pod 'StripeTerminal', :podspec => 'https://stripe-terminal-beta-sdk.s3.us-west-2.amazonaws.com/ios/v2.10.0-b1-5c3c7c005a6353b73f8860c35570ab400dead659a4fa7cec9d1a4df681a21972.podspec'
Can you share the ID of a Payment Intent you're trying to process? pi_xxx
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)
}
}
Also, are you using collectConfiguration? https://stripe.dev/stripe-terminal-ios/docs/Classes/SCPCollectConfiguration.html
nops
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