Django Paypal | Client Side Integration

  Рет қаралды 53,095

Dennis Ivy

Dennis Ivy

Күн бұрын

Пікірлер: 120
@DennisIvy
@DennisIvy 6 ай бұрын
Don't forget to check out my Complete Django course! dub.sh/NvGboTI
@litDevYT
@litDevYT 4 жыл бұрын
denis is just a gift from heaven
@kristoferkangro4217
@kristoferkangro4217 3 жыл бұрын
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-c5e
@Awais-c5e 4 жыл бұрын
Dude😍!!!! Just say, thank you so much 😍😍 for this kind of content.
@DennisIvy
@DennisIvy 4 жыл бұрын
My pleasure Mian!
@kosamomollo1072
@kosamomollo1072 4 жыл бұрын
Received the notification right away and clicked the play button 🔥
@DennisIvy
@DennisIvy 4 жыл бұрын
Haha I appreciate your support Khosam :)
@pranavgoswami2814
@pranavgoswami2814 4 жыл бұрын
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!
@aniekanessiet7886
@aniekanessiet7886 4 жыл бұрын
Damn bro!!!!! God bless you. I'm without words, I've spent months on this shit to no avail, thanks bro 100%
@TheCodeholic
@TheCodeholic 4 жыл бұрын
Hey Dennis, I just need Paypal integration in my PHP application and this video definitely helped me out. Thanks.
@paulklein5167
@paulklein5167 4 жыл бұрын
Thank you Dennis- much appreciated!
@patricklam18
@patricklam18 4 жыл бұрын
It's really cool! Thank you man.
@rangabharath4253
@rangabharath4253 4 жыл бұрын
Awesome as always
@firasjb4393
@firasjb4393 4 жыл бұрын
great content, i would appreciate a tutorial about PayPal integration in the back-end with a monthly subscription for example
@skateforhero
@skateforhero 4 жыл бұрын
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)
@arthurchoate5566
@arthurchoate5566 4 жыл бұрын
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
@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
@abderrahmanechatit5755 Жыл бұрын
same problem bro
@BeattapeFactory
@BeattapeFactory 4 жыл бұрын
this saved me days of work
@sirarnoldflex
@sirarnoldflex 8 күн бұрын
Thank you so much for this, very helpful
@rishabh152
@rishabh152 4 жыл бұрын
very nice explanation sir, keep it up
@mousex5532
@mousex5532 4 жыл бұрын
how to get cvv no for that debit cards im stuck [I cant select standard paypal account(banking) not showing]
@WilliamMcVey-wam
@WilliamMcVey-wam 4 жыл бұрын
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-oc3xp
@AhmedAli-oc3xp 4 жыл бұрын
Dennis Please! post the 2nd video of paypal integration...
@polymetisoutis
@polymetisoutis 2 жыл бұрын
Thanks, Dnnis!! Just in case, image url explanation 19:31.
@mohammedqadir3851
@mohammedqadir3851 4 жыл бұрын
Thank you so much sir adding Paytm and paypal type request using Django thank you Sir....
@nyamorawilliam6442
@nyamorawilliam6442 4 ай бұрын
the source code is not available
@gabi-e1i
@gabi-e1i 3 жыл бұрын
After the user completes the payment, how do I give him access to the content that he bought?
@actionphotopassion5082
@actionphotopassion5082 4 жыл бұрын
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.1798
@franku.n.1798 4 жыл бұрын
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.
@agkayati2652
@agkayati2652 4 жыл бұрын
@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-wam
@WilliamMcVey-wam 4 жыл бұрын
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.
@kaibrown7214
@kaibrown7214 4 жыл бұрын
​@@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??
@mariomartinezjr5519
@mariomartinezjr5519 4 жыл бұрын
It is that I was looking for, but do you have a tutorial with integration in backend side?
@adelabu-ghazaleh1228
@adelabu-ghazaleh1228 4 жыл бұрын
kzbin.info/www/bejne/aWTTn4qKqNGLaKc
@etienneloutsch1718
@etienneloutsch1718 4 жыл бұрын
Hi @Dennis, if i right click and go to console, i can change the amount. How to prevent from that ?
@ruancarlos4436
@ruancarlos4436 3 жыл бұрын
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.
@infinitx1330
@infinitx1330 3 жыл бұрын
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.
@oryankibandi3556
@oryankibandi3556 4 жыл бұрын
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.
@paristar3079
@paristar3079 4 жыл бұрын
Learn CSS and JavaScript first and if you already know learn React or Vue
@DennisIvy
@DennisIvy 4 жыл бұрын
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.
@saldax9489
@saldax9489 4 жыл бұрын
wathe about membership and plans. can you help me I have a big problem to implement this in my project
@JavierMezaOo
@JavierMezaOo 4 жыл бұрын
You are Big ! THX for sharing
@wailik8783
@wailik8783 3 жыл бұрын
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?
@abijahmashava6279
@abijahmashava6279 3 жыл бұрын
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'
@pawanmandal8787
@pawanmandal8787 4 жыл бұрын
how to learn django full course i have basic idea of django can you suggest me??
@ashoksa1484
@ashoksa1484 4 жыл бұрын
follow his Django series he had already uploaded those tutorials
@DennisIvy
@DennisIvy 4 жыл бұрын
Ashok already mentioned my course but I will keep adding more content to advance such as this video.
@ashoksa1484
@ashoksa1484 4 жыл бұрын
@@DennisIvy I am eagerly waiting for those video sir
@filipk2834
@filipk2834 3 жыл бұрын
What if someone will just type completeOrder() in console? He will skip payment and get order without it.
@dailymeow3283
@dailymeow3283 4 жыл бұрын
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 ?
@NishithSinghai
@NishithSinghai 3 жыл бұрын
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-ne7ro
@Jacob-ne7ro 4 жыл бұрын
Hi Dennis, will you record a guide on how to create e-commerce?
@DennisIvy
@DennisIvy 4 жыл бұрын
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.
@zacharykohs2378
@zacharykohs2378 3 жыл бұрын
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.
@pavodindoyi3415
@pavodindoyi3415 3 жыл бұрын
I really appreciate the content of this video. Would you please share a link of the backend integration?
@mercy_oyoo
@mercy_oyoo 4 жыл бұрын
Good tutorial, thank you
@beksultankenzhebekov7193
@beksultankenzhebekov7193 4 жыл бұрын
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 ?
@ashleywilkonson386
@ashleywilkonson386 4 жыл бұрын
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.
@DennisIvy
@DennisIvy 4 жыл бұрын
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
@ashleywilkonson386
@ashleywilkonson386 4 жыл бұрын
@@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р
@ИгорьКузнецов-т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?
@DennisIvy
@DennisIvy 4 жыл бұрын
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р
@ИгорьКузнецов-т8р 4 жыл бұрын
@@DennisIvy ok. but what about allowed hosts? Maybe you can show how settinds.py file should looks like?
@Carlanga0
@Carlanga0 10 ай бұрын
Were is the Server-Side version of this video?
@clarencebaluyot8652
@clarencebaluyot8652 4 жыл бұрын
Hi when will you upload the server side integration for this sir? im a beginner in integrating this things
@janwszoek1578
@janwszoek1578 4 жыл бұрын
Hello are you planning to do some videos about Phyton?
@danielrosas2240
@danielrosas2240 3 жыл бұрын
Una joya de vídeo! :)
@sachinmishra4614
@sachinmishra4614 4 жыл бұрын
Thank you . Can you help me out ith making n level user based upon dynamic sidebar bootstrap menu in django
@STANFORDCHIHOYI
@STANFORDCHIHOYI 4 ай бұрын
so how to l integrate live paypal account with django then
@fsadykov
@fsadykov 4 жыл бұрын
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?
@narendrasaud1860
@narendrasaud1860 4 жыл бұрын
its helpful thanku so mucha sr
@abdallahmahmoud8642
@abdallahmahmoud8642 4 жыл бұрын
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
@DennisIvy
@DennisIvy 4 жыл бұрын
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.
@abdallahmahmoud8642
@abdallahmahmoud8642 4 жыл бұрын
@@DennisIvy alright yes. Thanks man, Stay safe.
@a2zlearninghub67
@a2zlearninghub67 4 жыл бұрын
Thanks 😊 man!!
@elnazdehkharghani6121
@elnazdehkharghani6121 4 жыл бұрын
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...)
@bharathab8038
@bharathab8038 4 жыл бұрын
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?
@sachinmishra4614
@sachinmishra4614 4 жыл бұрын
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
@DennisIvy
@DennisIvy 4 жыл бұрын
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 :)
@bharathab8038
@bharathab8038 4 жыл бұрын
@@DennisIvy thanks for replying, any idea when might that be?
@tjmcmanamey
@tjmcmanamey Жыл бұрын
Is there a way to get the transaction ID with this?
@Gaetano46096
@Gaetano46096 4 жыл бұрын
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 + '!'); });
@abdulazizalqallaf1704
@abdulazizalqallaf1704 4 жыл бұрын
What if the user changed the value in the front end to 0.0$?
@adamhughes5527
@adamhughes5527 4 жыл бұрын
thanks dude!
@harshassp9144
@harshassp9144 4 жыл бұрын
Please make video on solr search integration to Django website search
@evgeniymishchenko5107
@evgeniymishchenko5107 4 жыл бұрын
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) ?
@pascavlad351
@pascavlad351 4 жыл бұрын
Do you think that I can get a job at FANG as a django developer?
@DennisIvy
@DennisIvy 4 жыл бұрын
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.
@pascavlad351
@pascavlad351 4 жыл бұрын
@@DennisIvy and do you think django is better for a beginner who only knows the basics in python than flask?
@devarakondaavinash10
@devarakondaavinash10 4 жыл бұрын
Hi Dennis Kinly do Django industry based projects
@abuyahyadiab363
@abuyahyadiab363 2 жыл бұрын
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
@AliKHYAR
@AliKHYAR 4 жыл бұрын
ma man life saver
@mattkurantowicz
@mattkurantowicz 4 жыл бұрын
Can you create a tutorial how to pay with cryptocurrency and Django?
@sifadrifad4202
@sifadrifad4202 4 жыл бұрын
Thank you so much
@DennisIvy
@DennisIvy 4 жыл бұрын
You're most welcome Sifad :)
@abdurahmanyusuf5170
@abdurahmanyusuf5170 4 жыл бұрын
thank you sir
@lecturesoniesgatepreparati8554
@lecturesoniesgatepreparati8554 4 жыл бұрын
Good bro
@GiuseppeSerraonline
@GiuseppeSerraonline 4 жыл бұрын
well done
@DennisIvy
@DennisIvy 4 жыл бұрын
Thank you Giuseppe:)
@utku_yucel
@utku_yucel 4 жыл бұрын
Thanks!
@DennisIvy
@DennisIvy 4 жыл бұрын
You bet!
@thambora4078
@thambora4078 4 жыл бұрын
Bro pls upload Django middleware tutorial series
@rajkushwahar
@rajkushwahar 4 жыл бұрын
it's not complete
@okeyshourovroy2769
@okeyshourovroy2769 3 жыл бұрын
Please make server side too. Client side can bieeasily manipulated
@theghate
@theghate 4 жыл бұрын
You should make a django tutorial on udemy!
@DennisIvy
@DennisIvy 4 жыл бұрын
I'm working on a few courses :)
@theghate
@theghate 4 жыл бұрын
@@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
@havaranis
@havaranis 4 жыл бұрын
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.
@DennisIvy
@DennisIvy 4 жыл бұрын
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.
@kaibrown7214
@kaibrown7214 4 жыл бұрын
@@DennisIvy This is a pretty big thing not to mention man... Still think you're a lifesaver tho. Keep up the good work!
@PixeLabor
@PixeLabor 4 жыл бұрын
This is completely insecure you could just send use the completorder function
@sukalporoy8186
@sukalporoy8186 4 жыл бұрын
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.
@lecturesoniesgatepreparati8554
@lecturesoniesgatepreparati8554 4 жыл бұрын
Gango
@lecturesoniesgatepreparati8554
@lecturesoniesgatepreparati8554 4 жыл бұрын
Create one game bri
@imiebaka
@imiebaka 3 жыл бұрын
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
4 жыл бұрын
thank you very much.
User Light/Dark Mode them Settings | HTML, CSS, JS
15:40
Dennis Ivy
Рет қаралды 24 М.
How I learned Django in 3 Months
8:02
Dennis Ivy
Рет қаралды 350 М.
Леон киллер и Оля Полякова 😹
00:42
Канал Смеха
Рет қаралды 4,7 МЛН
Beat Ronaldo, Win $1,000,000
22:45
MrBeast
Рет қаралды 158 МЛН
СИНИЙ ИНЕЙ УЖЕ ВЫШЕЛ!❄️
01:01
DO$HIK
Рет қаралды 3,3 МЛН
Why is it hard to hire Django developers?
16:32
Dennis Ivy
Рет қаралды 29 М.
Django Stripe Payments Simplified with Donation Page
46:47
Dennis Ivy
Рет қаралды 66 М.
Django Rest Framework | Serializers & CRUD
22:40
Dennis Ivy
Рет қаралды 395 М.
PayPal Payment Integration | Django Ecommerce Website | Part 5
24:04
Django and Stripe Payments Tutorial
1:10:27
Matt Freire
Рет қаралды 100 М.
This AI Robot Is Doing the Impossible - Unitree x ElizaWakesUp
9:30
AI Revolution
Рет қаралды 159 М.
React + Django Integration Tutorial | Hello World App
11:01
Dennis Ivy
Рет қаралды 246 М.
Django Video Chat Website With Controls
2:36:21
Dennis Ivy
Рет қаралды 124 М.
Леон киллер и Оля Полякова 😹
00:42
Канал Смеха
Рет қаралды 4,7 МЛН