1

I have a custom payment module where I need a controller for callback to get notified about the payment, but the payment service only gives me the error that the response contains html. Also, in the controller action I log every request and there aren't any requests from the callback service coming in. When I cann the exact same URL manually in the browser, everything works as expected and the callback also works fine with a simple test php file, only with Magento controllers it doesn't. I just don't understand why I don't get the request. Any ideas?

asked Sep 28, 2015 at 18:44

1 Answer 1

0

Is it hosted on a local server or hosted on a server where the site is reachable?

http://localhost or any local network address is just unreachable from outside.

answered Sep 28, 2015 at 19:38
3
  • Yes it's on a hosted server of cource, the site is absolutely reachable from outside. Commented Sep 29, 2015 at 6:08
  • Enable apache log first and see if you receiving the requests. If it is receiving the requests, then its a Magento problem and we will look into the Magento code. Commented Sep 29, 2015 at 12:00
  • run something like this: tail -f /var/log/apache2/access.log Commented Sep 29, 2015 at 12:06

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

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

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.