stripe / stripe-ios

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

[Bug] VisionOS Support - is unavailable in VisionOS #3192

Closed JazKingX closed 4 months ago

JazKingX commented 7 months ago

Summary

Code to reproduce

iOS version

Installation method

SDK version

Other information

Screenshot 2024-01-21 at 23 24 51
seanzhang-stripe commented 7 months ago

Hi @JazKingX VisionOS support is already added since SDK version 23.20.0. Can you update to the latest version and try again?

JazKingX commented 7 months ago

Hi @seanzhang-stripe, thank you for your reply! I've spent a few days just repeating the following steps to no luck

  1. Remove Stripe
  2. Close Xcode
  3. Delete derived data
  4. Reopen Xcode
  5. Add Stripe Package and set version
  6. Rebuild
  7. Errors
  8. Reset Package Cache
  9. Rebuild
  10. Errors
  11. Repeat
Screenshot 2024-01-22 at 19 44 08
JazKingX commented 7 months ago

I have also tried

Screenshot 2024-01-22 at 19 53 24 Screenshot 2024-01-22 at 20 05 17
JazKingX commented 7 months ago

The package seems up to date

Screenshot 2024-01-22 at 20 36 09
davidme-stripe commented 7 months ago

If you're using PaymentSheet, can you import the StripePaymentSheet module instead of Stripe? StripePayments and StripePaymentsUI should work as well if you're using the card field or a custom UI. We don't plan to support Basic Integration on visionOS.

porter-stripe commented 4 months ago

Hi @JazKingX you should be able to use PaymentSheet within visionOS. If you're still encountering issues feel free to re-open with details.