Project steps


Tech stack:

django rest-framework
Django 3.2, 4.0, 4.1

Estimated Build Time:

1 Hours

When working with a REST API architecture, one of the main problems we can encounter is communication with a third-party entity, like PayPal. In our example, we want the payment to go through and update our database accordingly. More specifically, when the payment goes through, we need to send a request to the backend to update our database depending on our business logic.


The problem we should face here is how are we going to secure the endpoint that takes care of updating the database. In other words: the endpoint can be used directly by any user, without any payment going through.

Enroll to build a secure checkout experience with PayPal.


No feedbacks yet.

Try the tutorial and let everyone know what you think!

Give a feedback, get credit and eroll paid tutorials.