0

Can someone help me with this issue, i'm using Braintree webhook, which is sending post data to my Magento 2 controller route, but from some reason, it always redirects me to home page, giving me 302 response, and i'm unable to receive post from webhook and deal with it accordingly. I'm using apache and .htaccess but every rule that i have put in there just gives me to many redirects error.

1 Answer 1

0

is it custome Magento 2 controller route? is it front-end route? Did you check rewrite table?

make sure rout ID and frontName are same. Don't know why but this way it works more stable.

<route id="fooid" frontName="fooid">
2
  • Yes, it is custom front-end controller route. And yes, i did check rewrite table, there is no such rule in there, basically this is happening when i try to do post request on this route /webhooks it redirects me to / with 302 response Commented Mar 3, 2020 at 14:18
  • updates my answer Commented Mar 3, 2020 at 22:09

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.