Ejemplo n.º 1
0
        private string GetSecureWebhookUrl(string orderNo)
        {
            var hash    = SecurityTools.CalculatePaymentHash(_jeebSetting.ApiKey, orderNo);
            var builder = new UriBuilder(_appSetting.ServerRootAddress)
            {
                Path = "Webhook", Query = $"hash={hash}"
            };

            return(builder.ToString());
        }