#nextplayerrr_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. Thank you for your patience!
⏱️ We automatically close idle threads, which makes them read-only. Make sure you stick around to chat in realtime! If this thread is closed and you have another question you'll need to start a new thread.
🔗 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/1215035455121399810
📝 Have more to share? You can add more detail below, including code, screenshots, videos, etc.
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.
- nextplayerrr_code, 2 hours ago, 22 messages
Hello
Hi
Hmmmmm have you reinstalled your podfiles? Done a clean build? Etc.?
I'm not sure what to do, ive tried cleaning my folders, deleting derived data, reinstalling the module, etc, the normal import Stripe works fine, I am installing through package dependancy as it's what I use for all my packages
Thank you
installing through package dependancy
Can you say more about what this means?
Gotcha, ok thanks
Are they any other errors? Where exactly does this module error bubble up?
This feels like the package is not actually installed or linked in your app
Also what version are you installing, and are you upgrading from an earlier version?
https://github.com/stripe/stripe-ios/blob/master/MIGRATING.md#migrating-from-versions--2300
https://docs.stripe.com/mobile/ios/sdk-23-migration
If you added a Stripe module, you might need to actually use the StripePaymentSheet module, according to that new split
The only error is this
Im using the newest version: 23.24.1
The other modules work fine, like:
StripePaymentsUI
and
StripePayments
So I find it weird that paymentsheet is the only one saying no such module since if the other modules work with the same installation, then I wouldn't think it's an installation problem
I'm not migrating anything, this is my first time working with Stripe and Swiftui
Can you try adding that module/package specifcally?
Add the selected module (e.g. “StripePaymentSheet”) to the target of your app.
https://docs.stripe.com/mobile/ios/sdk-23-migration#module-installation
ahh yes that worked, I thought it added all the modules but it seems it just didnt add that one
I had to manually add it
thank you a lot
Also, I asked this before but didn't really understand, so the StripePaymentSheet is just a sheet? can I not do something like this:
where the inputs are on the same view as my confirmation details
Correct, PaymentSheet is an overlay. If you want something in-line, then you would use something like STPPaymentCardTextField (see: https://docs.stripe.com/payments/accept-a-payment?platform=ios&ui=custom) and integrate other payment method types that you want as well.
Yeah I was trying the STPPaymentCard field but I prefer the design of the other one, is there a way to change it or it is just the normal one available?
What do you mean by "the normal one"?
You mean is there a way to change PaymentSheet from being an overlay?
well for the STP Payment Card this is the only one I could use right?
or this yeah, like on the image i provided above (the design)
Yes, you can style it some but you can't really change it beyond that if that is what you are asking?
ah okay, yeah thats what i was asking