lib/custom/src/MShop/Service/Provider/Payment/AuthorizeSIM.php
public function updatePush( \Psr\Http\Message\ServerRequestInterface $request, \Psr\Http\Message\ResponseInterface $response )
	{
		$params = (array) $request->getAttributes() + (array) $request->getParsedBody() + (array) $request->getQueryParams();

		if( isset( $params['x_MD5_Hash'] ) )
		{
			$url = $this->getConfigValue( array( 'payment.url-success' ) );
			$output = sprintf( $this->getValue( 'body', 'success' ), $url );

			$response = parent::updatePush( $request, $response );
			$response = $response->withBody( $response->createStreamFromString( $output ) );
			$response = $response->withHeader( 'Location', $url );
		}

		return $response;
	}
public function updatePush( \Psr\Http\Message\ServerRequestInterface $request, \Psr\Http\Message\ResponseInterface $response )
	{
		$params = (array) $request->getAttributes() + (array) $request->getParsedBody() + (array) $request->getQueryParams();

		if( isset( $params['x_MD5_Hash'] ) )
		{
			$url = $this->getConfigValue( array( 'payment.url-success' ) );
			$output = sprintf( $this->getValue( 'body', 'success' ), $url );

			$response = parent::updatePush( $request, $response );
			$response = $response->withBody( $response->createStreamFromString( $output ) );
			$response = $response->withHeader( 'Location', $url );
		}

		return $response;
	}
Updates the order status sent by payment gateway notifications

@param \Psr\Http\Message\ServerRequestInterface Request object
@return \Psr\Http\Message\ResponseInterface Response object