src/Genesis/API/Notification.php
public function initReconciliation()
    {
        $type = '';

        if ($this->isAPINotification()) {
            $type = 'NonFinancial\Reconcile\Transaction';
        } elseif ($this->isWPFNotification()) {
            $type = 'WPF\Reconcile';
        }

        $request = new \Genesis\Genesis($type);

        try {
            $request->request()->setUniqueId($this->unique_id);

            $request->execute();
        } catch (\Genesis\Exceptions\ErrorAPI $api) {
            // This is reconciliation, don't throw on ErrorAPI
        }

        return $this->reconciliationObj = $request->response()->getResponseObject();
    }
public function initReconciliation()
    {
        $type = '';

        if ($this->isAPINotification()) {
            $type = 'NonFinancial\Reconcile\Transaction';
        } elseif ($this->isWPFNotification()) {
            $type = 'WPF\Reconcile';
        }

        $request = new \Genesis\Genesis($type);

        try {
            $request->request()->setUniqueId($this->unique_id);

            $request->execute();
        } catch (\Genesis\Exceptions\ErrorAPI $api) {
            // This is reconciliation, don't throw on ErrorAPI
        }

        return $this->reconciliationObj = $request->response()->getResponseObject();
    }
public function initReconciliation ( ) { $ type = '' ; if ( $ this -> isAPINotification ( ) ) { $ type = 'NonFinancial\Reconcile\Transaction' ; } elseif ( $ this -> isWPFNotification ( ) ) { $ type = 'WPF\Reconcile' ; } $ request = new \ Genesis \ Genesis ( $ type ) ; try { $ request -> request ( ) -> setUniqueId ( $ this -> unique_id ) ; $ request -> execute ( ) ; } catch ( \ Genesis \ Exceptions \ ErrorAPI $ api ) { // This is reconciliation, don't throw on ErrorAPI } return $ this -> reconciliationObj = $ request -> response ( ) -> getResponseObject ( ) ; }
Reconcile with the Payment Gateway to get the latest
status on the transaction

@throws \Genesis\Exceptions\InvalidResponse
Reconcile with the Payment Gateway to get the latest status on the transaction