/// <summary>
        /// Initializes a new instance of the <see cref="T:PayPalStandardPaymentProvider"/> class.
        /// </summary>
        /// <param name="isLive">The is live.</param>
        /// <param name="businessEmail">The business email.</param>
        /// <param name="pdtId">The PDT id.</param>
        public PayPalStandardPaymentProvider(string isLive, string businessEmail, string pdtId)
        {
            Validator.ValidateStringArgumentIsNotNullOrEmptyString(isLive, ARG_ISLIVE);
              Validator.ValidateStringArgumentIsNotNullOrEmptyString(businessEmail, ARG_BUSINESS_EMAIL);
              Validator.ValidateStringArgumentIsNotNullOrEmptyString(pdtId, ARG_PDTID);

              bool IsLive = false;
              bool.TryParse(isLive, out IsLive);
              _payPalService = new PayPal.PayPalService(IsLive, businessEmail, pdtId);
        }
        public PayPalProPaymentProvider(string apiUserName, string apiPassword, string signature, string businessEmail, string isLive)
        {
            //Validator.ValidateStringArgumentIsNotNullOrEmptyString(apiUserName, API_USERNAME);
              //Validator.ValidateStringArgumentIsNotNullOrEmptyString(apiPassword, API_PASSWORD);
              //Validator.ValidateStringArgumentIsNotNullOrEmptyString(signature, SIGNATURE);
              Validator.ValidateStringArgumentIsNotNullOrEmptyString(isLive, ISLIVE);

              bool IsLive = false; //default to the sandbox
              bool isParsed = bool.TryParse(isLive, out IsLive);
              SiteSettings siteSettings = SiteSettingCache.GetSiteSettings();
              _payPalService = new PayPal.PayPalService(IsLive, apiUserName, apiPassword, signature, businessEmail, siteSettings.CurrencyCode);
        }