Ejemplo 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;
        }
Ejemplo 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;
            }
        }
Ejemplo n.º 3
0
 public BasicInformation(ref PayPalIPN PayPalIPN)
 {
     this     = new BasicInformation();
     this.IPN = PayPalIPN;
 }
 public DisputeEventNotifier(ref PayPalIPN PayPalIPN)
 {
     this     = new DisputeEventNotifier();
     this.IPN = PayPalIPN;
 }