Upon successful payment, the user will be redirected back to the merchant's website provided by the redirect URL provided during the request. This class represents those parameters to be used in MVC controllers.
Example #1
0
        public virtual bool VerifyAuthenticity(DwollaRedirect receivedRedirect)
        {
            this.ValidatorFactory.GetValidator <DwollaServerCheckoutApi>()
            .ValidateAndThrow(this);

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

            return DwollaSignatureUtil.VerifySignature( this.AppSecret, receivedRedirect.Signature, receivedRedirect.CheckoutId, receivedRedirect.Amount );
        }