コード例 #1
0
        public static void TryInvokeTransfer(NameValueCollection nvc)
        {
            //Create order
            NetellerAccountDetails accountDetails = PaymentAccountDetails.GetFirstIncomeGateway <NetellerAccountDetails>();
            NetellerAccount        account        = new NetellerAccount(accountDetails);

            string redirectUrl = account.CreateOrder(nvc["netellerItemName"], Money.Parse(nvc["netellerAmount"]), nvc["netellerCommand"], nvc["netellerArgs"]);

            HttpContext.Current.Response.Redirect(redirectUrl);
        }
コード例 #2
0
 public NetellerButtonGenerationStrategy(NetellerAccountDetails neteller)
 {
     account = neteller;
 }