Beispiel #1
0
 public BillingController()
 {
     _paypalManageServices        = DependencyResolver.Current.GetService <IPaypalManageServies>();
     _billingManageServices       = DependencyResolver.Current.GetService <IBillingManageServices>();
     _paypalServices              = DependencyResolver.Current.GetService <IPaypalServices>();
     _subscriptionsManageServices = DependencyResolver.Current.GetService <IUserSubscriptionsManageServices>();
     _s3Wrapper = DependencyResolver.Current.GetService <IS3Wrapper>();
 }
Beispiel #2
0
 public CheckoutController()
 {
     _paypalServices       = DependencyResolver.Current.GetService <IPaypalServices>();
     _billingServices      = DependencyResolver.Current.GetService <IBillingServices>();
     _widgetCourseServices = DependencyResolver.Current.GetService <IWidgetCourseServices>();
     _couponWidgetServices = DependencyResolver.Current.GetService <ICouponWidgetServices>();
     _geoServices          = DependencyResolver.Current.GetService <IGeoServices>();
     _userAccountServices  = DependencyResolver.Current.GetService <IUserAccountServices>();
 }
Beispiel #3
0
 public PaymentController()
 {
     _paypalServices       = DependencyResolver.Current.GetService <IPaypalServices>();
     _billingServices      = DependencyResolver.Current.GetService <IBillingServices>();
     _widgetCourseServices = DependencyResolver.Current.GetService <IWidgetCourseServices>();
     _couponWidgetServices = DependencyResolver.Current.GetService <ICouponWidgetServices>();
     _geoServices          = DependencyResolver.Current.GetService <IGeoServices>();
     _userAccountServices  = DependencyResolver.Current.GetService <IUserAccountServices>();
     // _webStorePortalServices = DependencyResolver.Current.GetService<IWidgetWebStoreServices>();
 }
 public TransactionController(ITransactionsServiceRepository TransactionsService,
                              IPaypalServices Paypal,
                              IMapper mapper,
                              IPaymentLogsServiceRepository Paymentlogs,
                              IRelatedTransactionDetailsServiceRepository relatedTransactionDetailsServiceRepository,
                              ILinksRelatedServiceRepository linksRelated,
                              IRefundPaypalServiceRepository refundPaypal,
                              IRefundStripeServiceRepository refundStripe)
 {
     _TransactionsService = TransactionsService;
     _PaypalServices      = Paypal;
     _mapper                      = mapper;
     _PaymentLogsService          = Paymentlogs;
     _IRelatedTransaction         = relatedTransactionDetailsServiceRepository;
     this.linksRelatedService     = linksRelated;
     this.RefundserviceRepository = refundPaypal;
     this.refundStripeService     = refundStripe;
 }
        public PaymentController(IHttpContextAccessor contextAccessor,
                                 UserManager <ApplicationUser> userManager,
                                 IPaypalServices paypalServices,
                                 IPackagePlanService packagePlanService,
                                 IBusiness_SubscriptionService subscriptionService,
                                 IBusinessService _businessService) : base(userManager, _businessService)
        {
            _PaypalServices          = paypalServices;
            this.packagePlanService  = packagePlanService;
            this.subscriptionService = subscriptionService;
            businessService          = _businessService;
            m_httpContextAccessor    = contextAccessor;

            URL = AppBaseUrl + "/Payment/";
            URL_CreatePayment  = URL + "CreatePayment";
            URL_ExecutePayment = URL + "ExecutePayment";
            URL_Success        = URL + "Success";
            URL_Cancel         = URL + "Cancel";
        }
Beispiel #6
0
        public HomeController(IHttpContextAccessor contextAccessor,
                              UserManager <ApplicationUser> userManager,
                              IPaypalServices paypalServices,
                              IPackagePlanService _packagePlanService,
                              IBusiness_SubscriptionService _subscriptionService,
                              IBusinessService _businessService, IOptions <ConfigAuthOptions> options)
        {
            _userManager = userManager;

            _PaypalServices       = paypalServices;
            packagePlanService    = _packagePlanService;
            subscriptionService   = _subscriptionService;
            businessService       = _businessService;
            _options              = options;
            m_httpContextAccessor = contextAccessor;

            URL = AppBaseUrl + "/Home/";
            URL_CreatePayment  = URL + "CreatePayment";
            URL_ExecutePayment = URL + "ExecutePayment";
            URL_Success        = URL + "Success";
            URL_Cancel         = URL + "Cancel";
        }
Beispiel #7
0
 public PaymentController(IPaypalServices paypalServices)
 {
     _PaypalServices = paypalServices;
 }
 public PaymentController(ApplicationDbContext dbContext, SignInManager <ApplicationUser> signInManager, IPaypalServices paypalServices)
 {
     _dbContext      = dbContext;
     _signInManager  = signInManager;
     _paypalServices = paypalServices;
 }
Beispiel #9
0
 public PaymentController(IPaypalServices paypalServices, WebContext context, UserManager <IdentityUser> userManager)
 {
     _PaypalServices = paypalServices;
     _context        = context;
     _userManager    = userManager;
 }
Beispiel #10
0
 public PaypalServicesGatewayBLL(IPaypalServices paypalServices, IUnitOfWork unitOfWork) : base(unitOfWork)
 {
     this._paypalServices = paypalServices;
 }