#squidonomics
1 messages · Page 1 of 1 (latest)
So you mean when you call presentPaymentSheet nothing shows up?
I had trouble with my own code before so I went back and took it all out then followed this exactly https://stripe.com/docs/payments/accept-a-payment?platform=ios&ui=payment-sheet&uikit-swiftui=swiftui#ios-customization
the if let condition is if let paymentSheet = model.paymentSheet
that never returns as true
Sorry, which step is that in?
Hmmm ... 🤔
I'm not familiar enough with Swift to know why this might not be working. But I do know that we have a series of example applications in our iOS GH repo that work: https://github.com/stripe/stripe-ios/tree/master/Example
They are a bit more complex but should give you a good idea of what you can build
alright I'll try and troubleshoot off that. Thank you