app.UseChargilyPayWebhookValidation();
app.MapChargilyPayWebhookEndpoint("/chargily/webhook", async (webhookContext) =>
{
// you can access the webhook body, http context, validation result
if (webhookContext.SignatureIsValid)
{
var body = webhookContext.Request;
/* do something with the webhook request body */
}
});
System.StackOverflowException
HResult=0x800703E9
Message=Exception of type 'System.StackOverflowException' was thrown.