

def fps_return_url(self, request):
    uri = request.build_absolute_uri()
    parsed_url = urlparse(uri)
    resp = self.fps_connection.verify_signature(UrlEndPoint=('%s://%s%s' % (parsed_url.scheme, parsed_url.netloc, parsed_url.path)), HttpParameters=parsed_url.query)
    if (not (resp.VerifySignatureResult.VerificationStatus == 'Success')):
        return HttpResponseForbidden()
    return self.transaction(request)

dataset/ETHPy150Open agiliq/merchant/billing/integrations/amazon_fps_integration.py AmazonFpsIntegration.fps_return_url/original