protected function _addSandboxSimulationParams($sMethod, array &$aParams)
    {
        //If Sandbox mode is inactive or Sandbox Simulation is not selected don't add any Simulation Params
        if ((bool) $this->getConfig()->getConfigParam('blAmazonSandboxActive') !== true
            || (bool) $this->getConfig()->getConfigParam('sSandboxSimulation') === false
        ) {
            return;
        }

        $sSandboxSimulation = (string) $this->getConfig()->getConfigParam('sSandboxSimulation');

        $aMap = array(
            'setOrderReferenceDetails' => array(
                'SetOrderReferenceDetailsPaymentMethodNotAllowed' => array(
                    'OrderReferenceAttributes.SellerNote' => '{"SandboxSimulation":{"Constraint":"PaymentMethodNotAllowed"}}'
                )
            ),
            'closeOrderReference' => array(
                'CloseOrderReferenceAmazonClosed' => array(
                    'ClosureReason' => '{"SandboxSimulation": {"State":"Closed","ReasonCode":"AmazonClosed"}}'
                )
            ),
            'authorize' => array(
                'AuthorizeInvalidPaymentMethod' => array(
                    'SellerAuthorizationNote' => '{"SandboxSimulation": {"State":"Declined","ReasonCode":"InvalidPaymentMethod","PaymentMethodUpdateTimeInMins":5}}'
                ),
                'AuthorizeAmazonRejected' => array(
                    'SellerAuthorizationNote' => '{"SandboxSimulation": {"State":"Declined","ReasonCode":"AmazonRejected"}}'
                ),
                'AuthorizeTransactionTimedOut' => array(
                    'SellerAuthorizationNote' => '{"SandboxSimulation": {"State":"Declined","ReasonCode":"TransactionTimedOut"}}'
                ),
                'AuthorizeExpiredUnused' => array(
                    'SellerAuthorizationNote' => '{"SandboxSimulation": {"State":"Closed","ReasonCode":"ExpiredUnused","ExpirationTimeInMins":1}}'
                ),
                'AuthorizeAmazonClosed' => array(
                    'SellerAuthorizationNote' => '{"SandboxSimulation": {"State":"Closed","ReasonCode":"AmazonClosed"}}'
                )
            ),
            'capture' => array(
                'CapturePending' => array(
                    'SellerCaptureNote' => '{"SandboxSimulation": {"State":"Pending"}}'
                ),
                'CaptureAmazonRejected' => array(
                    'SellerCaptureNote' => '{"SandboxSimulation": {"State":"Declined","ReasonCode":"AmazonRejected"}}'
                ),
                'CaptureAmazonClosed' => array(
                    'SellerCaptureNote' => '{"SandboxSimulation": {"State":"Closed","ReasonCode":"AmazonClosed"}}'
                )
            ),
            'refund' => array(
                'CaptureAmazonClosed' => array(
                    'SellerRefundNote' => '{"SandboxSimulation": {"State":"Declined","ReasonCode":"AmazonRejected"}}'
                )
            )
        );

        if (isset($aMap[$sMethod][$sSandboxSimulation])) {
            $aParams = array_merge($aParams, $aMap[$sMethod][$sSandboxSimulation]);
        }
    }