Open desphixs opened 1 year ago
Have you fixed the issue yet, i have been trying to fix it for over a month and still no luck, do you have any idea if the error is from the django-helcim package https://pypi.org/project/django-helcim/ or if it's from the API, i am using the helcim.js lib??
I have contacted developer support but still the issue persist, I'm thinking it's an API error.
I am trying to integrate Helcim Payment Method in django, i have written all the logic to make the payment, when i open up the page page, fill in my cards detail and amount to be paid and hit the submit button, it shows processing then refresh the page, then in the terminal i got this error that says
Response field not in FROM_API_FIELDS: csrfmiddlewaretoken
.I know this error is related to a
csrf
issue, i have addedcsrf_token
to my form and even addedcsrf_exempt
to the View but the error keeps showing up, i would really appreciate it if i can get some guide on what to look for or do concerning this issue.This is the view to process the payment