/// <summary>
 /// Gets Paypal URL
 /// </summary>
 /// <returns></returns>
 public static string GetPaypalServiceUrl(PayUMeaSettingsBase settings)
 {
     return settings.UseSandbox ?
         "https://api-3t.sandbox.paypal.com/2.0/" :
         "https://api-3t.paypal.com/2.0/";
 }
        //TODO: join the following two methods, with help of payment method type

        /// <summary>
        /// Gets Paypal URL
        /// </summary>
        /// <returns></returns>
        public static string GetPaypalUrl(PayUMeaSettingsBase settings)
        {
            return settings.UseSandbox ?
                "https://www.sandbox.paypal.com/cgi-bin/webscr" :
                "https://www.paypal.com/cgi-bin/webscr";
        }