public ActionResult UserActivation(String ActivationCode)
        {
            string result   = "";
            var    userInfo = new UpdateUserInfo();

            if (!String.IsNullOrEmpty(ActivationCode))
            {
                var dr = userregistrationData.AccountConfirmation(ActivationCode);
                if (dr != null)
                {
                    result = "true";
                    String StripeCustmId   = Convert.ToString(dr["stp_custId"]);
                    var    customerOptions = new StripeCustomerCreateOptions
                    {
                        Email       = Convert.ToString(dr["Email"]),
                        Description = Convert.ToString(dr["name"]),
                    };
                    var customerDetails = StripeHelper.AddCustomer(customerOptions, StripeCustmId);
                    if (customerDetails != null)
                    {
                        var planId       = (int)Statics.StripePlans.Trial;
                        var subscription = StripeHelper.Subscription(customerDetails.Id, new StripeSubscriptionCreateOptions {
                            PlanId = planId.ToString()
                        }, out result);
                        if (String.IsNullOrEmpty(result))
                        {
                            userInfo.CustId        = customerDetails.Id;
                            userInfo.UserId        = Convert.ToInt32(dr["id"]);
                            userInfo.PlanId        = planId;
                            userInfo.PlanStartDate = Convert.ToDateTime(subscription.CurrentPeriodStart).ToString();
                            userInfo.TrialEndDate  = subscription.TrialEnd.ToString();
                            userInfo.Amount        = subscription.StripePlan.Amount.ToString();
                            userInfo.PlanEndDate   = Convert.ToDateTime(subscription.CurrentPeriodEnd).ToString();
                            AccountData.UpdateStripeData(userInfo);
                        }
                        else
                        {
                            result = "Subscription error, please contact Administrator";
                        }
                    }
                }
                else
                {
                    result = "false";
                }
            }

            ViewBag.Confirmation = result;
            return(View("Login"));
        }