I am trying to send a request to paytm gateway checkout api for online 
transaction so I have created a form that has hidden values for request. So 
how to solve the csrf_token problem .. Thankyou  

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/1ccd4a76-e64c-4aab-8b08-5a1feee0fff1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
{% extends 'base.htm' %} {% load staticfiles %} {% block title %}E-DSW | Student | Payment{% endblock title %} {% block container-fuild %}
{#now we inherite the card.htm#} {% include 'card2.htm' %} {% csrf_token %} {% for field in form.hidden_fields%} {% if field.name == "CUST_ID" %} {% elif field.name == "MOBILE_NO" %} {% elif field.name == "EMAIL" %} {% elif field.name == "CHECKSUMHASH" %} {% elif field.name == "TXN_AMOUNT" %} {% else %} {{field}} {% endif %} {% endfor %}

If you want to cancel the Trasaction Press the CANCEL button , given below

CANCEL
{% endblock container-fuild %}

Reply via email to