#sumit_ttpoi

1 messages ยท Page 1 of 1 (latest)

chrome mistBOT
#

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

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

fathom nest
#

I have taken all these steps

heady escarp
#

are you using the latest version of the SDK and are running on a supported device?

fathom nest
#

yes

upbeat merlin
#

Hi @fathom nest looks like the entitlements file that you created is for release, but the provisioning support that you configured is Development

fathom nest
#

How are we preparing it for growth?

#

Hello @upbeat merlin What changes do we need to make in this

upbeat merlin
#

I'd suggest to make the entitlement and provisioning support consistent.

fathom nest
#

I tried but it's not working

chrome mistBOT
glad pelican
#

Hi! I'm taking over from my colleague. Please, give me a moment to catch up.

glad pelican
fathom nest
#

Hello @glad pelican

#

func discoverReadersAction() throws {
let config = try LocalMobileDiscoveryConfigurationBuilder().build()
self.discoverCancelable = Terminal.shared.discoverReaders(config, delegate: self) { error in
if let error = error {
print("discoverReaders failed: (error)")
} else {
print("discoverReaders succeeded")
}
}
}

glad pelican
#

I mean, have you tried both creating the entitlements file and configuring provisioning support for Development?

fathom nest
#

my token is from test environment

glad pelican
#

What "token" you mean?

fathom nest
#

How can I test payment processing

#

Terminal.setTokenProvider(TokenProvider())

#

i am using stripe terminal

#

I want to get LocalMobile reader in iPhone, for that I am using this code.

#

func discoverReadersAction() throws {
let config = try LocalMobileDiscoveryConfigurationBuilder().build()
self.discoverCancelable = Terminal.shared.discoverReaders(config, delegate: self) { error in
if let error = error {
print("discoverReaders failed: (error)")
} else {
print("discoverReaders succeeded")
}
}
}

glad pelican
#

It's not about Stripe keys. It seems you're building your app for Development. But the Tap To Pay entitlements are set for the Release version. This way your Development app is not entitled to use Tap To Pay.

fathom nest
#

but i am getting this error

#

discoverReaders failed: Error Domain=com.stripe-terminal Code=2900 "Operation not permitted. Verify the app has the necessary entitlements and that the application bundle is valid." UserInfo={com.stripe-terminal:ReaderMessage=Error usually caused by an entitlement issue, an invalid application bundle, a configuration issue, or a token issue., NSLocalizedDescription=Operation not permitted. Verify the app has the necessary entitlements and that the application bundle is valid., com.stripe-terminal:Message=Operation not permitted. Verify the app has the necessary entitlements and that the application bundle is valid.}

#

@glad pelican What do we have to do for development?

#

@glad pelican any idea

glad pelican
#

Still checking...

fathom nest
#

It is supporting development

chrome mistBOT
muted ginkgo
#

๐Ÿ‘‹ taking over for my colleague. Let me catch up.

chrome mistBOT
#

sumit_ttpoi

fathom nest
#

ok

#

Hi @muted ginkgo

muted ginkgo
#

@fathom nest I think the best medium for us to be able to help you here is to contact us via https://support.stripe.com/contact/email?topic=api_integration and mention that you were speaking to us on discord

#

once you do let me know, and I will escalate it to our team so we could take a look and reply as soon as possible

fathom nest
#

ok

muted ginkgo
#

thank you for understanding

#

please ping me once you create the ticket

fathom nest
#

Sorry @muted ginkgo

#

I am unable to connect there

muted ginkgo
#

why?

#
chrome mistBOT
fathom nest
#

ok

#

discoverReaders failed: Error Domain=com.stripe-terminal Code=2900 "Operation not permitted. Verify the app has the necessary entitlements and that the application bundle is valid." UserInfo={com.stripe-terminal:ReaderMessage=Error usually caused by an entitlement issue, an invalid application bundle, a configuration issue, or a token issue., NSLocalizedDescription=Operation not permitted. Verify the app has the necessary entitlements and that the application bundle is valid., com.stripe-terminal:Message=Operation not permitted. Verify the app has the necessary entitlements and that the application bundle is valid.}

#

i am getting this error

midnight heath
#

Did you write in to our team as advised?

fathom nest
#

yes

midnight heath
#

Then we'll help you there ๐Ÿ™‚

fathom nest
#

ok