Hello everyone,
I'm encountering an issue with my Magento store related to payment notifications. When a payment notification is received from the payment gateway, the request does not include the form_key parameter. As a result, Magento is unable to process the request and redirects to the homepage, displaying an "Invalid Form Key" error.
However, I am unsure how to resolve the missing form_key in the payment notification request. One potential solution could be to disable the form_key check for POST requests coming from specific origins. This way, we can allow the payment notifications to be processed without the form_key parameter.
Has anyone experienced a similar issue or can anyone provide guidance on how to handle this? Any help would be greatly appreciated!
Thank you!