If a callback URL was provided during the DwollaRequest, the transaction details will be POSTed to the URL in a JSON-encoded string. This class represents the POSTed JSON.
Exemple #1
0
        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 );
        }