Esempio n. 1
0
    Transaction Response Code
    < 50: Transaction approved
    >= 50: Transaction declined
    NULL: Transaction was not sent for authorization
    * If you would like further details on the response codes that are returned please see
    the Response Codes document available at
    https://www3.moneris.com/connect/en/documents/index.html
    * ccreceipt_message [STRING]  According to Moneris:
    Response description returned from issuing institution.
    
    Major types: APPROVED, DECLINED, CALL FOR, and HOLD CARD
    * ccreceipt_moddate [DATE]  The timestamp of when the receipt was created (or modified... but preferably no modifications are made).
    * cctransaction_id [INTEGER]  The unique identifier of a CC transaction to associate with this Moneris receipt.
    */
    $Receipt = new RowManager_ReceiptManager();
    $Receipt->dropTable();
    $Receipt->createTable();
    /*
     * ActiveRule Table
     *
     * Used to determine whether the associated (volume) price rule has been triggered. Also keeps track of whether balance-owing recalculation has been executed yet.
     *
     * pricerules_id [INTEGER]  Unique identifier of the associated price rule.
     * is_active [INTEGER]  Indicates whether the (volume) price rule has already been made active or not.
     * is_recalculated [INTEGER]  This is a flag indicating whether a balance-owing recalculation has been run yet with the 'is_active' flag being in its current state.
     */
    $ActiveRule = new RowManager_ActiveRuleManager();
    $ActiveRule->dropTable();
    $ActiveRule->createTable();
    /*[RAD_DAOBJ_TABLE]*/
} else {