stripe / stripe-ios

Stripe iOS SDK
https://stripe.com
MIT License
2.09k stars 976 forks source link

Swift UI Integration #1204

Closed djshumpert closed 3 years ago

djshumpert commented 5 years ago

Hi, I recently started a Swift UI project and was trying to integrate creating customer tokens within the app. Has anyone tried integrating Stripe with Swift UI? I know it is still in beta 🙈

ShahinBorujeni commented 3 years ago

Hey David, It's so refreshing to see stripe on SwifUI, Thanks for all the hard work. I noticed a bug while working with Prebuilt UI Inside of a modal(.sheet or .fullScreenCover) that prevents the bottom payment sheet to appear. Can you let me know if there is a workaround for this?

airlacodes commented 2 years ago

Would be good to see SwiftUI documentation for connecting a Stripe Account via SafariDelegate in the docs: https://stripe.com/docs/connect/collect-then-transfer-guide?platform=ios&ui=payment-sheet#redirect-your-user-to-the-account-link-url - only UIKit currently.