#firaun_flutter-payment-links
1 messages ยท Page 1 of 1 (latest)
๐ Welcome to your new thread!
โฒ๏ธ We'll be here soon! We typically respond in a few minutes, but in some cases we might need a bit more time (e.g., server's busy, you've got a complex question, etc.).
โฑ๏ธ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can 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/1254933369645568072
๐ Have more to share? Add details, code, screenshots, videos, etc. below.
HI ๐
I am using Stripe link
What does that mean? Are you using Payment Links? https://docs.stripe.com/payment-links
Now if after payment user comes back to my app, he will have to fill register form at my app (Firebase Auth). But I have no way to actually know if this us
What is it you want to know about the customer?
Once user has made the payment, he is redirected to my website where he can complete the registration. But at the registration, how can I make sure that this is a paid user or not? or if payment has been made or not because the payment is made outside my application.
You would include the Checkout Session ID in the return URL and then retrieve the session on your server to
- verify this person is being returned from a Stripe checkout session
- check that they were successful and completed the payment.
This StackOverflow question has a good answer for this situation: https://stackoverflow.com/questions/78663570/flutter-web-integration-with-stripe-check-out-links
I tried to paste the full question on the start of the thread but it didnt allow!
I actually dont have any backend server, things are handled at Firestore db and flutter web as Front end. Anything else i can do to avoid having a server?
Well it depends. You could implement something else entirely that doesn't rely on Stripe to identify your customers
This question at stackoverflow is actually my question.
Then you got a pretty good answer and I don't have a different one for you
Like, you can use Payment Links without a server but then you don't track your customers and their payment status using Stripe
is there an API I can make call from my front end somewhere when user enters his phone number that if this user has active payment/paid stuff in stripe?
No, you would need to track that yourself
Ok then last question..
Once user has completed the payment, we can either redirect him/her to a success page or a custom URL. (Can I capture paramters like, his phone number from the payment form he filled at payment)?
No
Ok I see firestore has a plugin for Stripe. Would you recommend that? Any documentations for that from Stripe side?
We don't maintain that ourselves. We would not be able to offer support for it here.
ok thanks