private function _waitUntilAuthorizationProcessingIsCompleted
    ($amazonAuthorizationId)
    {
        // Check for the presence of the ipn notification
        $this->waitForNotificationToBeProcessedBeforeContinuing(
            $amazonAuthorizationId, 
            "AuthorizationNotification"
        );
        
        // Notification is present, go and get the full 
        // information for this notification
        $response 
            = $this->callStepAndCheckForException(
                'getAuthorizationDetails',
                array($amazonAuthorizationId) 
            ); 
        
        echo $this->printResponseToWebpage(
            "printGetAuthorizationDetailsResponse", array($response)
        );
        validateThatAuthorizationIsOpen($response);
    }