#mandalorianiv_best-practices
1 messages Β· Page 1 of 1 (latest)
π Welcome to your new thread!
β²οΈ 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.
β±οΈ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always start a new thread if you have another question.
π 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/1216742303826448444
π Have more to share? Add more details, code, screenshots, videos, etc. below.
Hi toby
Hi π I see you found our guide for saving a payment method for future usage already, do you have a question about something in that guide or process?
Yes I need to understand the workflow for an app cause I'm using a custom setup via flutter and You guys are not supporting flutter for the reason that I can NOT understand
You're correct, we don't have prebuilt integrations for Flutter, so you will either need to structure the integration yourself within that framework or look for a third-party integration/abstraction that handles that for you. Which path do you think you're going to head down?
OK, so I'm opening a bottom sheet and I want to add a radiobutton that saves a card for future,
first, How do I achieve this? Explain it for an app
please, where is my manners sorry π
I don't know that, I'm not familiar with Flutter framework. I can talk about how you need to interact with Stripe, but I can't give you guidance about building a Flutter app.
so the second thing is how can I show the saved payment method to the users
From the Stripe side, you can retrieve a list of the Customer's Payment Methods with this endpoint:
https://docs.stripe.com/api/payment_methods/customer_list
Unfortunately I don't have any guidance on how to actually show those in the framework you're leveraging.
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
can you explain it for react-native?
Am I going to retrieve payment methods like pm_123123123
then I will use this method for complete payment?
I don't have guidance for building a UI, no, but if you are interested in seeing if we have prebuilt UI components available for that in React Native I'd recommend reaching out to the email address mentioned in this announcement:
#πannouncements message
We're actively building UIs to show saved payment methods and are looking for folks to help us test it out and provide feedback.
hmm got it
Yes, as shown in the final step of the guide you linked here:
https://docs.stripe.com/payments/save-and-reuse?platform=react-native&mobile-ui=payment-sheet#charge-saved-payment-method
so will you support flutter in near future π

I've not heard of plans to officially support it. I've heard of a lot of folks using this community provided abstraction for Stripe in a Flutter app:
https://pub.dev/packages/flutter_stripe
But I can't provide guidance on how to use it as we didn't build it and aren't too familiar with its inner workings.
Stripe is a perfect tool for payment but without flutter support it's a little hard
I'll be sure to capture that feedback for our teams to consider.