#appd_code
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/1224813054462525732
📝 Have more to share? Add more details, code, screenshots, videos, etc. below.
Below are links to other discussions we've had with you in the past week in case you want to review that information. If your question is related to one of these previous discussions, please provide a comprehensive summary of the current state and what you need help with now. We help many users simultaneously, so a summary allows us to resolve your issue as soon as possible.
- appd_code, 1 hour ago, 22 messages
Is there a guide you're following for this?
The header file for StripeIdentity-Swift.h doesnt reference any objects
everything works, i dont get an error until i try to initiate the verificationSheet object
Can you share the exact code you have in your file and the error you're seeing (screenshot works too)
let configuration = IdentityVerificationSheet.Configuration(
brandLogo: UIImage(named: "{{YOUR_BRAND_LOGO}}")!
)
// Instantiate and present the sheet
let verificationSheet = IdentityVerificationSheet(
verificationSessionId: verificationSessionId,
ephemeralKeySecret: ephemeralKeySecret,
configuration: configuration
)
verificationSheet.present(from: self, completion: { result in
switch result {
case .flowCompleted:
// The user has completed uploading their documents.
// Let them know that the verification is processing.
print("Verification Flow Completed!")
case .flowCanceled:
// The user did not complete uploading their documents.
// You should allow them to try again.
print("Verification Flow Canceled!")
case .flowFailed(let error):
// If the flow fails, you should display the localized error
// message to your user using error.localizedDescription
print("Verification Flow Failed!")
print(error.localizedDescription)
}
})
Im trying to convert this to Objective C code but I cant get past the first line because there is no IdentityVerificationSheet to initiate
IdentityVerificationSheet *verificationSheet = [[IdentityVerificationSheet alloc] init];
Use of undeclared identifier 'IdentityVerificationSheet' is the error
I don't know much Objective-C unfortunately. I doubt anyone on our team does either.
The problem is with the framework
all the other framewrks work fine
when i go directly into the header file there is no code where there should be code
How are you installing the package? Swift Package Manager or CocoaPods?
manually
this is the .h file for StripeUICore-Swift
this is how it looks when i look at the .h file for StripeIdentity-Swift
all the other frameworks have code to reference except StripeIdentity-Swift
i'm using the latest version 23.26.0
downloaded from https://github.com/stripe/stripe-ios/releases?page=1
Gotcha. I don't know much about this myself but it seems to be a limitation of how this specific framework was compiled. I'd recommend creating a support ticket via
https://support.stripe.com/?contact=true
That way we can put you in touch with the right team for this and look for a potential fix.
ok ill do that now