OpenCart 1.5.4 – when the customer checks out, makes the payment and then comes back to the site they are shown a blank page. Using $log on the callback I was able to determine there is data from the payment gateway and everything seems to be functional, but it executes the callback a second time with the request being empty causing the blank page. The order is updated as it should be, and everything seems to be working on the backend, execept the customer just sees a blank page. I tried to put $this->redirect($this->url->link(‘checkout/success’)) at the end of the callback but it still executes callback a second time and shows a blank page.
I’ve turned on error logging and nothing shows in the logs when this happens. Any ideas?
I didn’t find the right solution from the Internet.