Advertisement
Guest User

null.php Whmcs module

a guest
Jan 3rd, 2014
207
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.68 KB | None | 0 0
  1. <?php
  2.  
  3. function null_config() {
  4.  
  5. $configarray = array(
  6.  
  7. "FriendlyName" => array("Type" => "System", "Value"=>"Null Gateway")
  8.  
  9. );
  10.  
  11. return $configarray;
  12.  
  13. }
  14.  
  15.  
  16.  
  17. function null_capture($params) {
  18.  
  19. $results = array();
  20.  
  21. $results["status"] = "success";
  22.  
  23. $results["transid"] = "12345";
  24.  
  25.  
  26.  
  27. # Return Results
  28.  
  29. return array("status"=>"success","transid"=>$results["transid"],"rawdata"=>$results);
  30.  
  31. }
  32.  
  33.  
  34.  
  35. function null_refund($params) {
  36.  
  37. $results = array();
  38.  
  39. $results["status"] = "success";
  40.  
  41. $results["transid"] = "12345";
  42.  
  43.  
  44.  
  45. # Return Results
  46.  
  47. return array("status"=>"success","transid"=>$results["transid"],"rawdata"=>$results);
  48.  
  49. }
  50.  
  51. ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement