I am using the DPS Hosted Payment code to add credit card to a site I am currently working on for a client. Everything is working up to a point.
I can send to the DPS site successfully. Can fill in the forms on the DPS Site and get a "Transaction Approved" message but when the DPS site comes back to the controller to perform the complete it hangs unless I manually add "&isDev=1" to the end of the request string - whereupon it immediately finishes processing and sends the customer email out to confirm and redirects to the confirmation page.
This happens regardless of whether I define my development site as "dev" or "live".
Also the completion only works if I have a "Debug::message("blah")" or "Debug::show($var)" style message in the complete function (currently
if (isset($_REQUEST['result'])) {
Debug::message('In Result Handler: Complete');
...
Can anyone shed any ideas on this?