Redirection of Django

I made a paid query website. It"s the kind that doesn"t have to log in.
then the logic is that the user enters the post server and the server returns the information. The problem is that you need to enter a return url and a notification url on the payment API. How do I write the view function of this jump? Because you also need post data to the payment interface. Then jump and transfer to check the results. Ladies and gentlemen, give me a hand. The train of thought is a little confused. Writing a website for the first time.

Sep.04,2021
Menu