[cvs] [Wiki] changed: Project/Horde_Payment

Duck duck at obala.net
Wed Jan 28 10:46:00 UTC 2009


duck  Wed, 28 Jan 2009 05:45:59 -0500

Modified page: http://wiki.horde.org/Project/Horde_Payment
New Revision:  1.9
Change log:  Horde_Payment

@@ -12,8 +12,9 @@

  Duck [mailto:duck at obala.net duck at obala.net]

  ++ Code
+
  http://cvs.horde.org/incubator/Horde_Payment/

  ++ Description

@@ -104,19 +105,19 @@
          return $transaction;
      }

      switch ($params['status_id']) {
-    case Payment::PENDING:
+    case Horde_Payment::PENDING:
          // We have noting to do
          return true;
          break;

-    case Payment::VOID:
-    case Payment::REVOKED:
+    case Horde_Payment::VOID:
+    case Horde_Payment::REVOKED:
          // Cancle order
          return $manios_driver->deleteTransaction($id,  
$transaction['advertiser_id']);

-    case Payment::SUCCESSFUL:
+    case Horde_Payment::SUCCESSFUL:
          // Payment was successfully, process order
          return $manios_driver->confirmTransaction($id);

      default:



More information about the cvs mailing list