Just discovered your channel and was sad to see that we don't have that many videos here and that you haven't posted in a few months. Will watch them all and hope to find more of your content around on the web. Amazing work.
It would be super awesome if you could show how to integrate the webhooks with flutter, so that on the success page we can access Stripes CheckoutSession object.
I have downloaded the code but doesn't work it just displays home page with the button but then nothing happens when the button is selected, I'm assuming the code was for an older Flutter version? Could you update using current Flutter and latest dependency versions? This is just what I need for my application but I can't get it to work.
I've a question about a RUclips video about flutter web and stripe checkout you made I wanna add a possibility that when payment has successfully, I update some value in my firestore I tried all the night and it's doesn't work Help me
Question, is it possible to integrate stripe connect with flutter Web to make use of the full stripe payment gateway? I've heard that the integration is possible but limits Stipes offerings. For example, apple and Google pay won't work on flutter web using stripe connect, is that true?
Hey! Hope u are doing great, I am implementing a little different my app allow user to pay but payment will be hold and after sometimes stripe will pay to other, I create payment intent with in server side and returns user with client secret now I want to initiate in fluttet I try confirmPaymentIntent as well payment_method not pass error is always there how to do that, Thank you
After the payment is success it'll redirect to success page but if we press back it'll go back to payment page, is there any way to counter that issue? ( Flutter WEB )
@@fidev-makebeautifulapps1498thanks for your reply but actually my questions was different My problem is i have a lot of products i cannot create stripe product from it's dashboard for each of them that's why I want to pass net cart value for checkout how can I do it
From what I see, the products are required, although I didn't dig deep into docs for this case. Are you sure you can't add those products using Stripe API? Seems like doable with to do :) stripe.com/docs/api/prices
hi amazing tutorial, would it be okay for me to ask the server side integration as it is not secure to have the key in this code, also affter the sucess can i auto retun back to the app i know how to convert the first half into server function but not the try catch try { final result = await Dio().post( "api.stripe.com/v1/checkout/sessions", data: body, options: Options( headers: {HttpHeaders.authorizationHeader: auth}, contentType: "application/x-www-form-urlencoded", ), ); return result.data['id']; } on DioError catch (e, s) { print(e.response); throw e; }
You can't but it shouldn't matter as the success page is just to display the result to the user, the logic of the transaction should be handled by your backend using webhooks.
@@paulcaubet I don't want to create a backend tutorial as I'm not an expert in that area and I don't want to show any bad habits that could lead to potential financial problems. In old Stripe tutorial they were saying that your business should never depend on the redirection to success page because 1) user can go there by himself 2) sometimes the redirection may just not work for any reason. Here's an example of building webhook: stripe.com/docs/payments/handling-payment-events In our case the event type that we want to handle is checkout.session.completed stripe.com/docs/api/events/types#event_types-checkout.session.completed
This is magic. Stripe is fully implemented on my ecommerce app using this process.
Do you have it in production? If yes, then do you have any problem with it?
this is great content, I am looking forward for more videos like this, thank you
Great content as always.. Thanks man.
Just discovered your channel and was sad to see that we don't have that many videos here and that you haven't posted in a few months.
Will watch them all and hope to find more of your content around on the web.
Amazing work.
there is no way to catch the result?
It would be super awesome if you could show how to integrate the webhooks with flutter, so that on the success page we can access Stripes CheckoutSession object.
I'll literally pay you to help me accomplish this lol
I have downloaded the code but doesn't work it just displays home page with the button but then nothing happens when the button is selected, I'm assuming the code was for an older Flutter version? Could you update using current Flutter and latest dependency versions? This is just what I need for my application but I can't get it to work.
Bro , how can i return transaction details after payment in flutter web (like transaction id etc).
plz help me.
Very useful and timely. What happens when you hit the back button on the success page?
i also want the transaction details of the same to save in db. but i dont know how to get it. can you please help me with this. in this code
It only works with one-time payments.
I am trying to get it to work with subscription payments.
Did you handle it?
I've a question about a RUclips video about flutter web and stripe checkout you made
I wanna add a possibility that when payment has successfully, I update some value in my firestore
I tried all the night and it's doesn't work
Help me
Question, is it possible to integrate stripe connect with flutter Web to make use of the full stripe payment gateway? I've heard that the integration is possible but limits Stipes offerings. For example, apple and Google pay won't work on flutter web using stripe connect, is that true?
this is a great content. Is it possible to transfer metadata through stripe checkout ? and how can i access the payment details after success ?
final stripe = Stripe(apiKey); The function 'Stripe' isn't defined. The Stripe class does not seem to be from the stripe_checkout package. Anyone???
Nice video! Greetings from Argentina
Hey! Hope u are doing great, I am implementing a little different my app allow user to pay but payment will be hold and after sometimes stripe will pay to other,
I create payment intent with in server side and returns user with client secret now I want to initiate in fluttet I try confirmPaymentIntent as well payment_method not pass error is always there how to do that, Thank you
Wouldn't we get problems when we don't use Apples In-App Purchase Api in an iOS App in the Apple Review?
Thanks, Broh.. We are waiting for more...
After the payment is success it'll redirect to success page but if we press back it'll go back to payment page, is there any way to counter that issue? ( Flutter WEB )
I am no sure this works with Flutter stable v3.19.5 anymore....
when i click the 'stripe checkout in flutter! button, nothing happens, please help.
I get the "You may test your stripe.js integration over HTTP. However, live stripe.js integrations must use https" error. How did you bypass this?
By deploying production app on https :)
@@fidev-makebeautifulapps1498 I apologize if I wasn't clear. I 'm not sure how to do that or what that means. Could you link to an example?
Is it possible to add 'bancontact' as extra paymentMethod to the checkoutpage, and how?
Hi, do you have any idea how we can make a function which redirects to customer portal? Thanks in advance!
how can i pass a function in success url? plz reply
Hey, Thank you for this video, I have one question about stripe , is any possible way stripe use on flutter web with random amount ?
how you able to recreate with random amount?
What if I want to pass a custom amount and not a product id?
How can Implement this in a desktop application
I want to do a flutter web app with firebase and stripe subscription! i can't find anything its so frustrating! HELP!! please
Did you able to do it in Flutter web? I also have a flutter web app with firebase. Help is appreciated!
hey how can i pass custom product item instead of stripe product
Just pass the priceId parameter instead of hardcoded one :)
@@fidev-makebeautifulapps1498thanks for your reply but actually my questions was different
My problem is i have a lot of products i cannot create stripe product from it's dashboard for each of them that's why I want to pass net cart value for checkout how can I do it
@@fidev-makebeautifulapps1498 I have same issue
From what I see, the products are required, although I didn't dig deep into docs for this case. Are you sure you can't add those products using Stripe API? Seems like doable with to do :) stripe.com/docs/api/prices
thank you very much!!
sound too low...
Yeah, sorry for that 😔I promise it won't happen again 🤞
@@fidev-makebeautifulapps1498 and never happen again, because you stop doing videos ahaha :(
What about sessionId you don't need to get it for web?
same question/problem
hi amazing tutorial, would it be okay for me to ask the server side integration as it is not secure to have the key in this code, also affter the sucess can i auto retun back to the app
i know how to convert the first half into server function but not the try catch
try {
final result = await Dio().post(
"api.stripe.com/v1/checkout/sessions",
data: body,
options: Options(
headers: {HttpHeaders.authorizationHeader: auth},
contentType: "application/x-www-form-urlencoded",
),
);
return result.data['id'];
} on DioError catch (e, s) {
print(e.response);
throw e;
}
The web version uses client-only integration which is safe. The public key exposed there is well... public :D
your voice very low
Nice
how can i prevent user from just typing /success in the url bar?
You can't but it shouldn't matter as the success page is just to display the result to the user, the logic of the transaction should be handled by your backend using webhooks.
@@fidev-makebeautifulapps1498 could you elaborate on that? Or do you have a tutorial?
@@paulcaubet I don't want to create a backend tutorial as I'm not an expert in that area and I don't want to show any bad habits that could lead to potential financial problems. In old Stripe tutorial they were saying that your business should never depend on the redirection to success page because 1) user can go there by himself 2) sometimes the redirection may just not work for any reason.
Here's an example of building webhook: stripe.com/docs/payments/handling-payment-events
In our case the event type that we want to handle is checkout.session.completed stripe.com/docs/api/events/types#event_types-checkout.session.completed
@@fidev-makebeautifulapps1498 thanks a lot i’m gonna take a look at that!