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
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1e44454-4ce3c.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1e44454-4ce3c.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?