in

dashCommerce

An ASP.NET Open Source e-Commerce Application

Problems while clicking proceed to CheckOut?Did anyone find this and resolved?

Last post 01-23-2009 10:03 AM by chris.cyvas. 1 replies.
Page 1 of 1 (2 items)
Sort Posts: Previous Next
  • 01-22-2009 10:05 AM

    Problems while clicking proceed to CheckOut?Did anyone find this and resolved?

     I am getting exception when i click on the link "Proceed to check out" on the cart.aspx page.

    /// <summary>
        /// Loads the providers.
        /// </summary>
        private void LoadProviders() {
          PaymentServiceSettings paymentServiceSettings = FetchPaymentServiceSettings();
          IPaymentProvider paymentProvider = null;
          Type type = null;
          foreach (ProviderSettings providerSettings in paymentServiceSettings.ProviderSettingsCollection) { 

          //Object reference not set to an instance of an object.

           //We only want to load the defaultProvider
            if(paymentServiceSettings.DefaultProvider == providerSettings.Name) {
              type = Type.GetType(providerSettings.Type);
              paymentProvider = Activator.CreateInstance(type, providerSettings.Arguments) as IPaymentProvider;
              Validator.ValidateObjectIsNotNull(paymentProvider, PAYMENT_PROVIDER);
              _paymentProviderCollection.Add(paymentProvider);
            }
          }
        }

     

    How can i resolve this issue? What could be the proper sreps to set the payment provider configured to paypall.

  • 01-23-2009 10:03 AM In reply to

    Re: Problems while clicking proceed to CheckOut?Did anyone find this and resolved?

    Use the Configuration section in the Admin side of the application to register providers, configure them, and set the default provider.
    --
    Big Smile ~ Chris

    Open Source = Community = Shared Responsibility = Submit A Patch!
Page 1 of 1 (2 items)