#squidonomics
1 messages · Page 1 of 1 (latest)
Can you share your Stripe code where you are seeing this? Not immediately sure what might be causing this issue
Thank you for the info. Checking in to that doc
self returns uninitialized in from the debugger if that helps
And to be clear, you are otherwise using the exact code from that step in the doc?
As far as I can see that code should instantiate that object properly. Trying to think of why it might not
I am using the exact code, I get self uninitialized "0x00000000"
Still working to reproduce this myself. One thing that may be helpful here is that we offer pre-made versions of the sample code in our docs https://github.com/stripe-samples/accept-a-payment/tree/aba859dda4e1ae79fa28664f670a0fafc03f1f51/custom-payment-flow/client/ios-swiftui
It may be helpful to spin this one up on your machine and see if that works any better. I am trying this myself now and will try to compare with what is in the docs
just tried the github code as well
both of them reach stripe servers and create payment intent, ephemeral key and customer
So that code is working but your code from working with that doc is not?
however, the buy button never appears
both codes work in that they send to the stripe servers
however in the app the if let paymentSheet = model.paymentSheet defaults to else and never shows the buy button
I've debugged it to self returning uninitialized but I'm not sure if this is a stripe issue or what
Which file is that in? Not immediately seeing that when grepping the sample code
So it is basically stuck loading for you and never actually appears?
yes exactly that
Which is strange because all values are returned and logs are made on stripe servers
Hello! I'm taking a look now, give me a few minutes to get Xcode up and running with this code. 🙂