Accepting Payments in Flask Using Stripe Checkout
Вставка
- Опубліковано 19 вер 2024
- Get started with payments in Flask using Stripe Checkout.
WORK WITH ME👇🏼
✅ Implement features and fix bugs in your app: Live, one-on-one screenshare
prettyprinted....
💻 Code written in video
prettyprinted....
Join my free course on the basics of Flask-SQLAlchemy: prettyprinted....
I've built an entire application with lots of functions by relying a lot on your tutorials. PP, keep it up 👍. Thanks big time.
does this stripe work for Kenya?
@@maxwellmuhanda7940 Not at all. I don't think it works anywhere in Africa. You need an American bank account probably. Maybe try using it with TransferWise or some other service that provides you with a US bank account. Or try other APIs
I set out to become a Patron of Corey Schaffer, once I get salary for python development. That happened month ago. Today I set out to become your Patron, once I set up a flask e-commerce and make a first real sale. Stellar tutorials quality, thank you!
Regards, happy subscriber, python newb.
Video from almost 2 years ago, but still inicredibly useful! Congratulations!
Hi Felipe. Hope you are well. Can you guide me as per your knowledge ?
If not because of your tutorials, I wouldn't have integrated stripe into one of my Saas service to accept payments. Thanks a ton. A video on "Dynamic product catalog and pricing" would be much helpful in most of the times, also, no other channel does flask+stripe as neat as yours. Hoping a video from you on it.
Again, thanks a ton.
You are a blessing to the world ❤❤
This tutorial is a very nice one. Super well worded and explained. Other than the mistakes, I'd rate this video 100%
Nice tutorial! Thanks!
Fabulous.! Thank you for putting the code on Github as well.
This is a great tutorial.
Amazing video dude. Love your stuff! I actually needed this although I will be writing it in Django this is super helpful :)
Bro this sh’t is crazy a whole nother thing to learn
Beautiful video. Kudos mate. Tho can i ask, could you make video about FLASK and Stripe with recurring subscription? or just normal subscription?
Great work as always!
Can you also show how to do this with paypal web checkout. The version that is server side
why does my webhook not printing to cosole when using print() ? any help please?
I have the same problem
Same it's like my webhook endpoint never gets called, what could i be missing ?
have you found a solution?
Is it just me? but according to the documentation on checkout, it is supposed to wait on a successful 2xx code back from the webhook "checkout completed event" before proceeding to the success URL, or 10 seconds (whichever comes first). So even if after 10 seconds you will still get directed to the success URL.
So, I figured out my own issue. If you are using the Stripe CLI and have a registered webhook forwarded, then it doesn't care about the 10 second delay before forwarding. To get Stripe to wait 10 seconds, go to the dashboard > developer > webhooks and enter a fictitious address for the checkout.completed event. I haven't looked yet, but hopefully there is a log or a trigger for failed webhooks.
Thank you!
how to get transaction id from strip for customer
Hi! How do I insert an Image into the Stripe API inside the .py files?
you made my day, isn't there away to accept payment from card to your card directly without getaway in python, I mean handling your own checkouts
Hi there Anthony thanks for listening to my request
This videos explains a lot and is very helpful for me
But strips subscription plan isnt clear to me yet so ut would be great if you can make a video on that
And thanks for this video❤❤
How do I like this to an already existing app I see that the products are created on strip directly is there a way to make it work with the products in the database instead??
✋qustion
What if i don't want to add product in strip rather than that i just want to send amount needs to be changed
And even if it is necessary to send product i could just send a json data?
Will that work?
yea im also looking for this. can't find any answer on the web but i feel like this would be a pretty common thing to do. Mabye im just wrong
That works great in development but my success page doesnt display in production. The stripe support says my success url must be publicly accessible. How do i do that?
Its really help us ThankYou
Very informative
Webhook url should be public, meaning unlogged users should have access to it so Stripe will send confirmation. How do I pass user id to this webhook, so I can save some data related to user after his payment? It works easily with Thanks page (success) but not via webhook.
I love your django REST API series , if possible make basic e-commerce type project using django REST API..
Thank you!
I get the error :
TypeError: unhashable type: 'Charge'
after the payment has been successful I always get this at the end in my terminal (after the webhook is called)
Hey I am bit late with this but can we get a website intergrated one without redirecting to checkout.stripe :)
hello sir, webhook is not called on my side, what can i do?
I have a question, I want flask to return_template the thank you page after payment, that means it is not a separate link, how canI achieve this?
Amazing 👌
in flask sqlalchemy use back_populates??
Does this work in the UK.
I am having a problem will be glad if you could help me
I want to add 3 one time payment plans
So I can't understand that I have to make multiple sessions or what
Please help
Hey had u solved ur problem if u did please guide me also
But the payment went through although you used like I guess an innocent credentials for your payment
Awesome
29:48 after i place the order i keep getting this in the terminal: Timestamp outside the tolerance zone (xxxxxxxxxx) INVALID SIGNATURE.
It looks like that the timestamp is too old but even if i try to be super fast by doing the whole process i keep gettting the same error... any solution to that? To me it looks like the problem is that the created time by stripe is utc while mine is locall
I was able to solve it only by putting tolerance=7200 in stripe.Webhook.construct_event(payload, sig_header, endpoint_secret) .... not the best workaround
nice video nice way to explain I liked it, I saw you courses and I liked
them I'm not able to afford to your course for me they are expensive,
I'm a teenager 15 yo, I will be very thankful if you make your courses
free for a day please (A lot of people are doing that I really hope you
will). Thanks.
Hey man, would you be interested on giving me a tutoring session? I am in an intership and it is about to end. The only phase left is the admin page and the payment page. Your videos are amazing, but I need some kind of an helping hand out here.
I do have my coaching program where I help people one-on-one. prettyprinted.com/coaching
Please make a video on Paytm Payment Gateway Integration.
I'll look into some topics. Thanks for the idea.
BROOO
WHO DISLIKED IT?????