public override bool TakeAction() { decimal Amount = amount.ToDecimal(); int silver = (Amount * (decimal)6.5).ToInt(); PayManager.AddOrderInfo(orderno, Amount, _passportId, _serviceID, _gameID, silver, _deviceId, _RetailID); return(true); }
public static void AddAndRoidOrder(Paymentfo payinfo, string RetailID) { PayManager.AddOrderInfo(payinfo.orderno, Convert.ToDecimal(payinfo.Amount), payinfo.account, payinfo.server, payinfo.game, payinfo.silver, payinfo.deviceId, RetailID); }