src/AmazonPaymentBundle/lib/amazon/OffAmazonPaymentsService/Samples/SimpleCheckoutExampleCLI.php
private function _waitUntilAuthorizationProcessingIsCompleted($amazonAuthorizationId)
    {
        $response 
            = $this->callStepAndCheckForException(
                'waitUntilAuthorizationProcessingIsCompleted', 
                array($amazonAuthorizationId)
            );
        printGetAuthorizationDetailsResponse($response);
        validateThatAuthorizationIsOpen($response);
    }
private function _waitUntilAuthorizationProcessingIsCompleted($amazonAuthorizationId)
    {
        $response 
            = $this->callStepAndCheckForException(
                'waitUntilAuthorizationProcessingIsCompleted', 
                array($amazonAuthorizationId)
            );
        printGetAuthorizationDetailsResponse($response);
        validateThatAuthorizationIsOpen($response);
    }
private function _waitUntilAuthorizationProcessingIsCompleted ( $ amazonAuthorizationId ) { $ response = $ this -> callStepAndCheckForException ( 'waitUntilAuthorizationProcessingIsCompleted' , array ( $ amazonAuthorizationId ) ) ; printGetAuthorizationDetailsResponse ( $ response ) ; validateThatAuthorizationIsOpen ( $ response ) ; }
Poll the API for the status of the Authorization Request, and continue
once the status has been updated
Throw an error if the status is not equal to Open

@param string $amazonAuthorizationId authorization transaction to query
Poll the API for the status of the Authorization Request and continue once the status has been updated Throw an error if the status is not equal to Open