public ActionResult PaymentTransferDetails(PaymentSystemTransfer paymentSystemTransfer)
 {
     var mes = Resource.MessageTransferSuccessfullyRegistered;
     var result = TradeSharpServer.Instance.proxy.RegistrationUndefinedTransfer(paymentSystemTransfer.Id, paymentSystemTransfer.UserPaymentSys);
     if (!result) mes = Resource.MessageUnableRecoverPayment;
     return RedirectToAction("PaymentTransfer", new { message = mes });
 }
Esempio n. 2
0
 public static PAYMENT_SYSTEM_TRANSFER UndecoratePaymentSystemTransfer(PaymentSystemTransfer paySysTransfer)
 {
     if (paySysTransfer == null) return null;
     return new PAYMENT_SYSTEM_TRANSFER
     {
         Id = paySysTransfer.Id,
         UserPaymentSys = paySysTransfer.UserPaymentSys,
         Ammount = paySysTransfer.Ammount,
         Currency = paySysTransfer.Currency,
         DateProcessed = paySysTransfer.DateProcessed,
         DateValue = paySysTransfer.DateValue,
         Comment = paySysTransfer.Comment,
         Transfer = paySysTransfer.Transfer,
         SourcePaySysAccount = paySysTransfer.SourcePaySysAccount,
         SourcePaySysPurse = paySysTransfer.SourcePaySysPurse,
         SourseFirstName = paySysTransfer.SourseFirstName,
         SourseLastName = paySysTransfer.SourseLastName,
         SourseEmail = paySysTransfer.SourseEmail
     };
 }