#sumit_ttpoi
1 messages ยท Page 1 of 1 (latest)
๐ 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.
are you using the latest version of the SDK and are running on a supported device?
yes
Hi @fathom nest looks like the entitlements file that you created is for release, but the provisioning support that you configured is Development
How are we preparing it for growth?
Hello @upbeat merlin What changes do we need to make in this
I'd suggest to make the entitlement and provisioning support consistent.
I tried but it's not working
Hi! I'm taking over from my colleague. Please, give me a moment to catch up.
What have you tried exactly?
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")
}
}
}
I mean, have you tried both creating the entitlements file and configuring provisioning support for Development?
my token is from test environment
What "token" you mean?
How can I test payment processing
Terminal.setTokenProvider(TokenProvider())
using this curl https://api.stripe.com/v1/terminal/connection_tokens
-u sk_test_tR3PYbcVNZZ796tH88S4VQ2u:
-X "POST"
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")
}
}
}
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.
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
Still checking...
It is supporting development
๐ taking over for my colleague. Let me catch up.
sumit_ttpoi
@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
Find help and support for Stripe. Our support site provides answers on all types of situations, including account information, charges and refunds, and subscriptions information. Get your questions answered and find international support for Stripe.
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
ok
why?
would you mind trying https://support.stripe.com/?contact=true
Find help and support for Stripe. Our support site provides answers on all types of situations, including account information, charges and refunds, and subscriptions information. Get your questions answered and find international support for Stripe.
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
Did you write in to our team as advised?
yes
Then we'll help you there ๐
ok