Paytm Payment Gateway Integration in Django
Synopsis: This is a great way to learn how to integrate payments in your Django application....
For further actions, you may consider blocking this person and/or reporting abuse
Thanks for this article.it worked for me. But it should have some small corrections.
1.) in step -1 "pay.html" make it Form method = POST.
2.) in step- 4 change " transaction = Transaction.objects.create(made_by=user, amount=20000)" shoud be change to amount = amount.
3.) on Step -6 , call back view has to add any HTTP responce.
# Like This
if is_valid_checksum:
received_data['message'] = "Checksum Matched"
return render(request, 'payments/callback.html', context=received_data)
This post really helped me. Thank you for sharing! keep it up!
I am getting error MID
invalid: This MID is not available on our staging environment
have you solved this problem? If yes, then please assist.
I am facing the same issue can you please help me
What is your issue, can you send me a repo to help you?
I was integrating paytm payment getway for our MERN app
and got this error MID
invalid: This MID is not available on our staging environment.
can you please guide if have you solved this issue
Create a directory templates in the project's root directory and another directory registration in templates. Now add a file login.html in the registration directory and add the following to it.
Can someone say what is the meaning of preojects root directory in the above lines??
[ModuleNotFoundError: No module named 'Crypto' ] this error comes while run server. I install Crypto module using pip. but It's not working. please give solution for this error.
pip install paytmchecksum
instead of using the deprecated library pycrypto
Please install pycryptodome
try installing this
pip install pycryptodome
Anybody tried it?? Is that working??
yup!! works for me
in my case not working
Quick update - WhenThen provides a single SDK to access all your payment processors. They aim to reduce implementation headaches by doing a single integration once. Check it out here: documentation.whenthen.com/checkout
This post really helped me.
dev-to-uploads.s3.amazonaws.com/up...
Great
sir i am getting Valuel error at /pay/ is incorrect AES key length..please help me