csrf protection

Hello! i have a little problem and need guidance. I am currently doing a development with django. I have set up a means of payment by perfect money. the problem I am having is that after making the payment when returning to my success page defined in the parameters of the form for sending by perfect, django shows me a 403 error notifying me that it has not found csrf tokens. I would like to notify that Perfect Money Sending the information by the post method. how could i solve this problem. thank you


Can you show the complete error?

It seems to me that you forgot to include {% csrf_token %} inside your form.
Take a look at the docs about csrf, it’s very well explained.