Esempio n. 1
0
        public PayPalIPN([Optional, DefaultParameterValue(false)] bool UsingSandbox)
        {
            PayPalIPN payPalIPN = this;

            this._BasicInformation = new BasicInformation(ref payPalIPN);
            PayPalIPN ipn2 = this;

            this._Dipute_Notification = new DisputeEventNotifier(ref ipn2);
            this._PayPal_or_Sandbox   = PayPalSandbox_Flags.sandbox;
            this._PaymentVerification = PaymentVerification_Flags.INVALID;
            if (UsingSandbox)
            {
                this.PayPal_or_Sandbox = PayPalSandbox_Flags.sandbox;
            }
            else
            {
                this.PayPal_or_Sandbox = PayPalSandbox_Flags.paypal;
            }
            this._AllInformation = HttpContext.Current.Request.Form;
        }
Esempio n. 2
0
        public PayPalIPN(NameValueCollection Form, [Optional, DefaultParameterValue(false)] bool UsingSandBox)
        {
            PayPalIPN payPalIPN = this;

            this._BasicInformation = new BasicInformation(ref payPalIPN);
            PayPalIPN ipn2 = this;

            this._Dipute_Notification = new DisputeEventNotifier(ref ipn2);
            this._PayPal_or_Sandbox   = PayPalSandbox_Flags.sandbox;
            this._PaymentVerification = PaymentVerification_Flags.INVALID;
            this._AllInformation      = Form;
            if (UsingSandBox)
            {
                this.PayPal_or_Sandbox = PayPalSandbox_Flags.sandbox;
            }
            else
            {
                this.PayPal_or_Sandbox = PayPalSandbox_Flags.paypal;
            }
        }
 public DisputeEventNotifier(ref PayPalIPN PayPalIPN)
 {
     this     = new DisputeEventNotifier();
     this.IPN = PayPalIPN;
 }