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); }
public NetellerButtonGenerationStrategy(NetellerAccountDetails neteller) { account = neteller; }