cancel
Showing results for 
Search instead for 
Did you mean: 

I am trying to do anonymous checkout (login/checkout/guest) using Ajax but getting 405 Method not allowed error (hybris 6.5). Any leads ? please.

Former Member
0 Kudos

I am trying to do anonymous checkout (login/checkout/guest) using Ajax but getting 405 Method not allowed error (hybris 6.5). Any leads ? please.

Accepted Solutions (0)

Answers (2)

Answers (2)

amitpanwar
Advisor
Advisor
0 Kudos

Make sure that you have CSRFToken your part of your form data while doing a POST using Ajax request otherwise you would get this error.

Marko_salonen
Contributor
0 Kudos

Could it be that you try to do a GET but there is no GET method? Try POST.

Former Member
0 Kudos

, Thanks for reply. I have tried with POST only, but the issue with addon, we have b2bacceleratoraddon which is overriding checkout login controller and no more post method there in it.