Don't forget to check out my Complete Django course! dub.sh/NvGboTI
@litDevYT4 жыл бұрын
denis is just a gift from heaven
@kristoferkangro42173 жыл бұрын
Even though it is hard for me to understand everything completley I still find the video very useful and leading to me in the right direction. Thank you for making this video.
@Awais-c5e4 жыл бұрын
Dude😍!!!! Just say, thank you so much 😍😍 for this kind of content.
@DennisIvy4 жыл бұрын
My pleasure Mian!
@kosamomollo10724 жыл бұрын
Received the notification right away and clicked the play button 🔥
@DennisIvy4 жыл бұрын
Haha I appreciate your support Khosam :)
@pranavgoswami28144 жыл бұрын
Thanks dude, I am inspired by you so much. You really are a great developer and a great programmer. Thank you so much and happy coding!
@aniekanessiet78864 жыл бұрын
Damn bro!!!!! God bless you. I'm without words, I've spent months on this shit to no avail, thanks bro 100%
@TheCodeholic4 жыл бұрын
Hey Dennis, I just need Paypal integration in my PHP application and this video definitely helped me out. Thanks.
@paulklein51674 жыл бұрын
Thank you Dennis- much appreciated!
@patricklam184 жыл бұрын
It's really cool! Thank you man.
@rangabharath42534 жыл бұрын
Awesome as always
@firasjb43934 жыл бұрын
great content, i would appreciate a tutorial about PayPal integration in the back-end with a monthly subscription for example
@skateforhero4 жыл бұрын
Hi Dennis! Thanks for the tutorial. It was extremely useful. I have however a question with regards to safety. With the current set up, wouldn't it be possible for someone to inject post requests manually and mess with your database? basically sending post requests to your completed URL containing a json (with potentially valid product ID's)
@arthurchoate55664 жыл бұрын
For anyone who is curious: developer.paypal.com/docs/checkout/integration-features/auth-capture/#5-capture-the-authorization, you'll have to authorize it via Paypal.
@kevindesforges8421 Жыл бұрын
Did something happen to PayPal's client side integration? When I created my business account on PayPal, PayPal only shows server side integration in their SDK materials. I cannot get any of the client side code Dennis was using (noticing his video is now 3-years old).
@abderrahmanechatit5755 Жыл бұрын
same problem bro
@BeattapeFactory4 жыл бұрын
this saved me days of work
@sirarnoldflex8 күн бұрын
Thank you so much for this, very helpful
@rishabh1524 жыл бұрын
very nice explanation sir, keep it up
@mousex55324 жыл бұрын
how to get cvv no for that debit cards im stuck [I cant select standard paypal account(banking) not showing]
@WilliamMcVey-wam4 жыл бұрын
Seems like anyone who looks at the code can see the format of the paymentComplete() endpoint and push Order records into the database. For this to actually be sufficient, there needs to be server side validation of order from Paypal (including validating that the purchase_units record wasn't manipulated before Paypal processing occurs. Alternatively, using Paypal webhooks to validate the order and create the Order objects could work as well.
@AhmedAli-oc3xp4 жыл бұрын
Dennis Please! post the 2nd video of paypal integration...
@polymetisoutis2 жыл бұрын
Thanks, Dnnis!! Just in case, image url explanation 19:31.
@mohammedqadir38514 жыл бұрын
Thank you so much sir adding Paytm and paypal type request using Django thank you Sir....
@nyamorawilliam64424 ай бұрын
the source code is not available
@gabi-e1i3 жыл бұрын
After the user completes the payment, how do I give him access to the content that he bought?
@actionphotopassion50824 жыл бұрын
Hi Dennis, Which of the two you consider he most plug'n play between Stripe and Paypal as you played around with the 2 APIs ?
@franku.n.17984 жыл бұрын
Thank you Dennis this is so awesome and simplified. Can you make a video as your mention implementing the server side of PayPal integration with Django for video subscription. Thank you in anticipation.
@agkayati26524 жыл бұрын
@Dennis , It's great content ever I found on Google and KZbin to add payment gateway into django website . you described everything well and very clearly . But my question is that , Is that is enough to receive secure transactions ? Can someone copy our payment content from browser inspector and miss use them ? You talked about server link in this video what is that and Is that play any important role to receive payments ? I love your videos . I am new on django but very crazy to build a secure website . Thank you for this video , I am waiting for your next video on django .
@WilliamMcVey-wam4 жыл бұрын
I'm looking at this and as a pentester, I don't see anything that precludes me from directly interacting with the backend endpoint for paymentComplete() to push valid orders into the database while totally bypassing the PayPal processing. Or, just as easily, changing the orders json object that gets pushed into Paypal for approval. What really needs to be covered is either server side validation of the order payments or a description of using Paypal Webhooks to validate the order process completed as expected.
@kaibrown72144 жыл бұрын
@@WilliamMcVey-wam Gheesh thank goodness! Im a fish out of water with this web dev stuff, but was having the hardest time imagining this as secure, and was hoping to see something just like this. THANKS! Alsssooo if you dont mind my asking, im a lil lost on where to start with validating the orders on the backend. Where do I begin??
@mariomartinezjr55194 жыл бұрын
It is that I was looking for, but do you have a tutorial with integration in backend side?
@adelabu-ghazaleh12284 жыл бұрын
kzbin.info/www/bejne/aWTTn4qKqNGLaKc
@etienneloutsch17184 жыл бұрын
Hi @Dennis, if i right click and go to console, i can change the amount. How to prevent from that ?
@ruancarlos44363 жыл бұрын
Very good video Dennis get me a question, is it possible for the user to change the price of the product by inspecting the browser and sending the changed value to paypal? Or when the page loads, we already make a call to an API and it already holds this fixed value.
@infinitx13303 жыл бұрын
Hi Dennis, I have come to your video, for learning how to add paytm for an app I'm developing in django. I would like to know if it is safe to do client side integration or would it make things easier for a hacker.
@oryankibandi35564 жыл бұрын
Hey Dennis, i got started with django abt a month ago and was wondering whats the best frontend library,or how do i go about learning frontend development after grasping a bit of the django backend. Thanks.
@paristar30794 жыл бұрын
Learn CSS and JavaScript first and if you already know learn React or Vue
@DennisIvy4 жыл бұрын
Like Pari Mentioned, you will need to get a base understanding of HTML/CSS but I recommend you try using plain JavaScript before moving to a framework like React or Vue.
@saldax94894 жыл бұрын
wathe about membership and plans. can you help me I have a big problem to implement this in my project
@JavierMezaOo4 жыл бұрын
You are Big ! THX for sharing
@wailik87833 жыл бұрын
hey dennis, when i change my value in the paypal setup transaction which value:total, my sandbox can't seem to load when i click on paypal payment option. Can anyone help me out?
@abijahmashava62793 жыл бұрын
When I try to deploy in heroku I get error:"Requested runtime (python-3.8.3) is not available for this stack (heroku-20)" even though I am running python 3.8.3 and its set in 'runtime.txt'
@pawanmandal87874 жыл бұрын
how to learn django full course i have basic idea of django can you suggest me??
@ashoksa14844 жыл бұрын
follow his Django series he had already uploaded those tutorials
@DennisIvy4 жыл бұрын
Ashok already mentioned my course but I will keep adding more content to advance such as this video.
@ashoksa14844 жыл бұрын
@@DennisIvy I am eagerly waiting for those video sir
@filipk28343 жыл бұрын
What if someone will just type completeOrder() in console? He will skip payment and get order without it.
@dailymeow32834 жыл бұрын
Hry Dennis, why it's never capturing credit and debit cards payment, it always shows " something went wrong, try again later" Is there a different code for credit and debit cards ?
@NishithSinghai3 жыл бұрын
amount = 5 is hard coded. How can we take input from user and pass it to stripe checkout. Also, say i enrol for course on teachable. Will there be space to ask such questions. Thank you
@Jacob-ne7ro4 жыл бұрын
Hi Dennis, will you record a guide on how to create e-commerce?
@DennisIvy4 жыл бұрын
Yes that's coming next :) I try to make these videos before hand so I can just reference them and not have to teach paypal/stripe integration in one video. I'm gonna do something similar with the dashboard video where I will teach "Charts" and "google maps" in separate videos so you guys have time to learn.
@zacharykohs23783 жыл бұрын
How would you redirect to another page after you completed an order? I used the the action.redirect function like suggested in the script but it keeps saying that it must be a fully qualified url. I'm using the url template tag too for my redirected url.
@pavodindoyi34153 жыл бұрын
I really appreciate the content of this video. Would you please share a link of the backend integration?
@mercy_oyoo4 жыл бұрын
Good tutorial, thank you
@beksultankenzhebekov71934 жыл бұрын
Hi, great tutorial series, unfortunately PayPal and Stripe are not supporting in my country, there is only QIWI international payment system, is it possible to integrate QIWI ?
@ashleywilkonson3864 жыл бұрын
Do you need to have a licensed business to use this in production? I had to register an LLC to use Stripe, and it's such a headache.
@DennisIvy4 жыл бұрын
No you can select the "Sole-proprietorship" option and this will just require a social security number, at least in the US. Paypal makes it simple for individuals to use
@ashleywilkonson3864 жыл бұрын
@@DennisIvy Damn I wish I would have looked more into it, their documentation wasn't very good when I made my Django shopping site and I assumed it would be a similar situation. Thanks man!
@ИгорьКузнецов-т8р4 жыл бұрын
Hi Dennis! Thank you for great stuff! Can you advise wich settings I should use in settings.py file for my django site to deploy my site to real server to make it more secure?
@DennisIvy4 жыл бұрын
In production you should have a separate settings.py called, I have not taught on this yet. The main thing is to make sure DEBUG is set to false when you are live and try to put any items such as passwords and secret keys into environment variables, especially if you are sharing your code with others.
@ИгорьКузнецов-т8р4 жыл бұрын
@@DennisIvy ok. but what about allowed hosts? Maybe you can show how settinds.py file should looks like?
@Carlanga010 ай бұрын
Were is the Server-Side version of this video?
@clarencebaluyot86524 жыл бұрын
Hi when will you upload the server side integration for this sir? im a beginner in integrating this things
@janwszoek15784 жыл бұрын
Hello are you planning to do some videos about Phyton?
@danielrosas22403 жыл бұрын
Una joya de vídeo! :)
@sachinmishra46144 жыл бұрын
Thank you . Can you help me out ith making n level user based upon dynamic sidebar bootstrap menu in django
@STANFORDCHIHOYI4 ай бұрын
so how to l integrate live paypal account with django then
@fsadykov4 жыл бұрын
Can user inspect checkout page and change the amount? What is going to happen if the user will change that amount and submit payment? How you are validating the right amount?
@narendrasaud18604 жыл бұрын
its helpful thanku so mucha sr
@abdallahmahmoud86424 жыл бұрын
Hello Dennis, i have an important question, can someone make the browser send a post request without actually buying the product?? I don't think the csrf token will prevent that. please correct me if i am wrong. happy coding :'D
@DennisIvy4 жыл бұрын
In theory yes but in a real application we can right rules in our view to ensure the proper data is there, like a Transaction ID.
@abdallahmahmoud86424 жыл бұрын
@@DennisIvy alright yes. Thanks man, Stay safe.
@a2zlearninghub674 жыл бұрын
Thanks 😊 man!!
@elnazdehkharghani61214 жыл бұрын
Dear Dennis, When I submit each of my orders they do not add automatically in my admin panel, would you please let me know where is my problem? (every other works properly...)
@bharathab80384 жыл бұрын
hey Dennis, I like the content you are making, currently, I am having a hard time learning authorization and permissions with multi-tenant model. example, saas webapp with various companies and multi levels of users in that company. can you explore on that topic in your next video?
@sachinmishra46144 жыл бұрын
Hi I know it's random but Can you help me out ith making n level user based upon dynamic sidebar bootstrap menu in django
@DennisIvy4 жыл бұрын
I might get to that when I create my subscription based website with permission levels. I'll do my best to answer your question when I get to it :)
@bharathab80384 жыл бұрын
@@DennisIvy thanks for replying, any idea when might that be?
@tjmcmanamey Жыл бұрын
Is there a way to get the transaction ID with this?
@Gaetano460964 жыл бұрын
hi, how do i REDIRECT IN OTHER PAGE ? // Finalize the transaction onApprove: function(data, actions) { return actions.order.capture().then(function(details) { // Show a success message to the buyer actions.redirect(); completeOrder() alert('Transaction completed by ' + details.payer.name.given_name + '!'); });
@abdulazizalqallaf17044 жыл бұрын
What if the user changed the value in the front end to 0.0$?
@adamhughes55274 жыл бұрын
thanks dude!
@harshassp91444 жыл бұрын
Please make video on solr search integration to Django website search
@evgeniymishchenko51074 жыл бұрын
Dennis, Hello! I like what you doing. Are you from Russia? I know that you do not live in Russia, I mean do you speak russian? Is it hard for you to learn Python (Django) and JS (React) ?
@pascavlad3514 жыл бұрын
Do you think that I can get a job at FANG as a django developer?
@DennisIvy4 жыл бұрын
That's tricky to answer but in short ,yes. When learning django you are not just learning the framework but including python, maybe some front end framework or language like JS and other technologies. By becoming a full stack "Django" developer you are covering alot of topics therefore becoming a "Developer" and not just a "django developer". This can make you well rounded and ready for many types of positions.
@pascavlad3514 жыл бұрын
@@DennisIvy and do you think django is better for a beginner who only knows the basics in python than flask?
@devarakondaavinash104 жыл бұрын
Hi Dennis Kinly do Django industry based projects
@abuyahyadiab3632 жыл бұрын
Hi, I wanna ask if this video still valid until this date. I'm asking because of the variations of django. Your projects is far powerfull(I'm now in chat application project, it's far nice), and I hope this also be valid
@AliKHYAR4 жыл бұрын
ma man life saver
@mattkurantowicz4 жыл бұрын
Can you create a tutorial how to pay with cryptocurrency and Django?
@sifadrifad42024 жыл бұрын
Thank you so much
@DennisIvy4 жыл бұрын
You're most welcome Sifad :)
@abdurahmanyusuf51704 жыл бұрын
thank you sir
@lecturesoniesgatepreparati85544 жыл бұрын
Good bro
@GiuseppeSerraonline4 жыл бұрын
well done
@DennisIvy4 жыл бұрын
Thank you Giuseppe:)
@utku_yucel4 жыл бұрын
Thanks!
@DennisIvy4 жыл бұрын
You bet!
@thambora40784 жыл бұрын
Bro pls upload Django middleware tutorial series
@rajkushwahar4 жыл бұрын
it's not complete
@okeyshourovroy27693 жыл бұрын
Please make server side too. Client side can bieeasily manipulated
@theghate4 жыл бұрын
You should make a django tutorial on udemy!
@DennisIvy4 жыл бұрын
I'm working on a few courses :)
@theghate4 жыл бұрын
@@DennisIvy On udemy? I would like a project course with connecting to postgres etc. I feel that when I pay for a course on udemy I am more dedicated to learning it rather then just from youtube. Idk maybe thats just me wanting to spend money jaja
@havaranis4 жыл бұрын
At the product page you can go to the console and type total=0.01. Then you can buy the product for 0.01. What a security flaw.
@DennisIvy4 жыл бұрын
Nope. It’s up to you to add in something on the backend to ensure the user doesn’t manipulate the price. I always query the database for the product/price and ensure that the value matches. If not, just send back an error.
@kaibrown72144 жыл бұрын
@@DennisIvy This is a pretty big thing not to mention man... Still think you're a lifesaver tho. Keep up the good work!
@PixeLabor4 жыл бұрын
This is completely insecure you could just send use the completorder function
@sukalporoy81864 жыл бұрын
Hello Dennis Ivy, Please upload a video how we can use/intregate a machine learning model with a django site Please upload it as soon as possible.
@lecturesoniesgatepreparati85544 жыл бұрын
Gango
@lecturesoniesgatepreparati85544 жыл бұрын
Create one game bri
@imiebaka3 жыл бұрын
Let's hope the image URL does not change 🤭️ Thank you for the information shared . Alternatively you can use the fetch() API without using getCookie function. "X-CSRFToken": "{{ csrf_token }}", //put this in the header tag