public virtual bool VerifyAuthenticity(DwollaCallback receivedCallback) { this.ValidatorFactory.GetValidator <DwollaServerCheckoutApi>() .ValidateAndThrow(this); return(DwollaSignatureUtil.VerifySignature(this.AppSecret, receivedCallback.Signature, receivedCallback.CheckoutId, receivedCallback.Amount)); }
public virtual bool VerifyAuthenticity(DwollaCallback receivedCallback) { this.ValidatorFactory.GetValidator<DwollaServerCheckoutApi>() .ValidateAndThrow( this ); return DwollaSignatureUtil.VerifySignature( this.AppSecret, receivedCallback.Signature, receivedCallback.CheckoutId, receivedCallback.Amount ); }