public DoExpressCheckoutPaymentOperation( ExpressCheckoutApi ec , string token , string payerid , PaymentAction action ) :base( ec ) {
			RequestNVP.Method = "DoExpressCheckoutPayment";
			Token = token;
			PayerId = payerid;
			
			PaymentRequest(0).Action = action;
		}
		public PaymentRequest ( ExpressCheckoutApi.Operation o , int n ) {
			this.o = o;
			this.n = n;
			this.m = 0;

			Action = PaymentAction.SALE;
		}
Beispiel #3
0
        public DoExpressCheckoutPaymentOperation(ExpressCheckoutApi ec, string token, string payerid, PaymentAction action) : base(ec)
        {
            RequestNVP.Method = "DoExpressCheckoutPayment";
            Token             = token;
            PayerId           = payerid;

            PaymentRequest(0).Action = action;
        }
		public Cart () {
			items = new List<Item>();
			ec = PayPalApiFactory.instance.ExpressCheckout(
				"neto_1306507007_biz_api1.gmail.com",
				"1306507019",
				"Al8n1.tt9Sniswt8UZvcamFvsXYEAegNpyX63HRdtqJVff7rESMSQ3qN"
			);
			
			populate();
		}
Beispiel #5
0
 public GetExpressCheckoutDetailsOperation(ExpressCheckoutApi ec, string token) : base(ec)
 {
     RequestNVP.Method = "GetExpressCheckoutDetails";
     Token             = token;
 }
 public SetExpressCheckoutOperation(ExpressCheckoutApi ec, string returnURL, string cancelURL) : base(ec)
 {
     RequestNVP.Method = "SetExpressCheckout";
     ReturnURL         = returnURL;
     CancelURL         = cancelURL;
 }
 public OperationWithPaymentRequest(ExpressCheckoutApi ec) : base(ec)
 {
 }
            public Operation(ExpressCheckoutApi ec)
            {
                this.ec = ec;

                requestNVP = ec.createNVP();
            }
			public OperationWithPaymentRequest( ExpressCheckoutApi ec ) :base( ec ) {}
			public Operation( ExpressCheckoutApi ec ) {
				this.ec = ec;

				requestNVP = ec.createNVP();
			}
		public GetExpressCheckoutDetailsOperation( ExpressCheckoutApi ec , string token ) :base( ec ) {
			RequestNVP.Method = "GetExpressCheckoutDetails";
			Token = token;
		}
		public SetExpressCheckoutOperation( ExpressCheckoutApi ec , string returnURL , string cancelURL ) :base( ec ) {
			RequestNVP.Method = "SetExpressCheckout";
			ReturnURL = returnURL;
			CancelURL = cancelURL;
		}