In this video, you'll learn how to setup PayPal payments with Django and React. Sell a digital product with a simple React landing page. This tutorial also shows how to Dockerize the React app and how to configure it inside the Django project.
📖 Read the blog post
https://justdjango.com/blog/django-react-paypal-payments
💻 Project code
https://github.com/justdjango/django_react_paypal
Professional Django developer courses:
👉 https://justdjango.com
✌️ Stay in touch
Facebook: https://www.facebook.com/justdjangocode
Instagram: https://www.instagram.com/justdjangocode
Twitter: https://www.twitter.com/justdjangocode
Email: matt@justdjango.com
Thank you for watching and don't forget to subscribe :)
00:00 Intro
02:10 PayPal need to know
06:40 Start project
09:00 React project
12:00 Dockerizing the React app
15:30 Explaining PayPal check-out process
17:00 Adding PayPal into project
19:00 Installing PayPal script provider
23:45 PayPal buttons
26:00 ‘Adding a product”
27:00 Paypal components
30:00 Display messages to the user [ On approve/cancel/error functions]
30:30 Install hot toast package
36:00 Web hooks (Ngrok)- backend
39:00 Payment logic
42:00 Django views