#davedeji_unexpected
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/1369348238788006020
๐ 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.
- davedeji_unexpected, 4 days ago, 4 messages
Payment Intent: pi_3RJn7IRw1MfRbGUT0CNkqysa
Hi! What are you using to create the "payment sheets on iOS and Android"?
Hi using the built in stripe SDK payment sheet. https://docs.stripe.com/payments/accept-a-payment?platform=ios
Thanks. Digging.
ok, thank you
no i hadn't i have taken a look and the current sdk version doesnt seem to include any user accessible link configurations.
here's the file included in the SDK for configuration, only a couple mentions of link and it seems to be for internal only
24.5.0 which was the latest one available through SPM when i installed the packages about 2 weeks ago
i think thats just the date the file was created typically
I guess that file is just that old. ๐
yeah, copyright date in xcode isnt updated typically after file is created haha
One sec.
https://stripe.dev/stripe-android/paymentsheet/com.stripe.android.paymentsheet/-payment-sheet/-link-configuration/index.html
https://stripe.dev/stripe-ios/stripepaymentsheet/documentation/stripepaymentsheet/paymentsheet/configuration-swift.struct#:~:text=external payment methods.-,var link%3A LinkConfiguration,-Configuration related to
Those both give you the ability to tell the Payment Sheet to never display Link.
seems to be same page you sent earlier. the issue is there is not an accessible link parameter on configuration. those docs could potentially be outdated.
There is, actually. Both of those point at a Link Configuration for their respective SDKs.
Not sure whats missing then because the SDK claims theres no link parameter unlike the others ive been able to set quite easily
wat
Well that's great. Gotta love a link that goes somewhere when you click it on the page, but goes nowhere when you open it fresh. ๐
Still looking.
It was added 27 Mar: https://github.com/stripe/stripe-ios/pull/4690
...so 24.10.0 and up should have it. https://github.com/stripe/stripe-ios/tags
Got it thanks
let me update the sdk then
apologies if im missing something obvious but the issue now is can't find link configuration in scope. Based off the stripe docs and digging around in the code its part of StripePaymentSheet, which should be covered by the import statement i have at the top? import StripePaymentSheet
๐ stepping in as timebox needed to step away
Catching up
Hmm not an iOS expert but yeah that code looks fine.
You updated your pods I assume?
Hmm do you need to do PaymentSheet.LinkConfiguration.init() separately
possibly, but it should typically work in line
ill try that now and see if it resolves
this worked. configuration.link = PaymentSheet.LinkConfiguration(display: .never) thanks
Great!