tdphong
-
Posts
31 -
Joined
-
Last visited
Reputation Activity
-
tdphong reacted to Tyson in How To Redirect To Success Page Or Failure Page After Validate Payment Response
Blesta automatically performs redirects to the payment received page whether there is an error or not--you may just want to update the payment received page to display transaction information differently.
-
tdphong reacted to activa in How To Redirect To Success Page Or Failure Page After Validate Payment Response
not sur , but in the end of the file add another condtions like this to use header or blesta function redirect()
// Capture the IPN status, or reject it if invalid switch (strtolower($this->ifSet($response['status']))) { case "successful ": header('Location: http://www.example.com/'); break; case "error": header('Location: http://www.example.com/'); break; }