Where is the error at response from paytm or at your request for payment information?
On Tue, Mar 26, 2019, 6:57 AM Mike Dewhirst <miked@dewhirst.com.au> wrote:
On 26/03/2019 4:35 am, Kumar Ashirwad Mishra wrote:
> 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 need to include the CSRF token immediately after the form action
<form action="payment" method="POST">
{% csrf_token %}
... so if that occurs in card2.htm that's where it should be.
hth
> --
> 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+unsubscribe@googlegroups.com
> <mailto:django-users+unsubscribe@googlegroups.com>.
> To post to this group, send email to django-users@googlegroups.com
> <mailto: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
> <https://groups.google.com/d/msgid/django-users/1ccd4a76-e64c-4aab-8b08-5a1feee0fff1%40googlegroups.com?utm_medium=email&utm_source=footer>.
> For more options, visit https://groups.google.com/d/optout.
--
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+unsubscribe@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/5f2b5f04-0129-a669-06c8-8c1345293c0d%40dewhirst.com.au.
For more options, visit https://groups.google.com/d/optout.
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+unsubscribe@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/CAF%2BYYc5E4U_8j_vZ_ge6CaLqXhih8QyLjqr7uEpkeWpsZXUXjg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
No comments:
Post a Comment