PayWithAmazon\Client::calculateSignatureAndPost PHP Method

calculateSignatureAndPost() private method

* calculateSignatureAndPost - convert the Parameters array to string and curl POST the parameters to MWS
private calculateSignatureAndPost ( $parameters )
    private function calculateSignatureAndPost($parameters)
    {
        // Call the signature and Post function to perform the actions. Returns XML in array format
        $parametersString = $this->calculateSignatureAndParametersToString($parameters);
        // POST using curl the String converted Parameters
        $response = $this->invokePost($parametersString);
        // Send this response as args to ResponseParser class which will return the object of the class.
        $responseObject = new ResponseParser($response);
        return $responseObject;
    }