Redirect handling for form vs. nor form returns from external payment