Example #1
0
        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);
        }
Example #2
0
 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);
 }