#avery_code
1 messages ¡ Page 1 of 1 (latest)
đ Welcome to your new thread!
âąď¸ We automatically close idle threads, which makes them read-only. Make sure you stick around to chat in realtime!
đ 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/1212477124422664302
đ Have more to share? You can add more detail below, including code, screenshots, videos, etc.
â˛ď¸ 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. Thank you for your patience!
Hi, we're taking a look here
Hello! I'm taking over and catching up...
Can you tell me more about what you're trying to do? Why do you want the client secret?
- Create Payment Intent
- Convert it to JSON
- Store it in JSON
- I want to collectPaymentIntent now
- Oh no it's a JSON and I lost the original object
- Oh I have the clientSecret, oh wait no I don't so I can't call retrievePaymentIntent
- Sad
Where is #1 happening? On your server or on device?
Device
I could createPaymentIntent on server to go around this but I feel the clientSecret should be returned on iOS
I don't have much information about the payment intent
We don't make the client secret available on iOS. If you need it you can fetch it from the API using your server and relay the info to the device. If you don't know the Payment Intent ID you can list Payment Intents: https://docs.stripe.com/api/payment_intents/list
Is there a reason?
iOS SDK seems kinda useless besides just collecting and confirming
I'm sure there is, but I don't know the reason.
That's what I would recommend, yeah.
Happy to help!