Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • juanga16 4 posts 44 karma points
    Aug 05, 2020 @ 20:28
    juanga16
    0

    EditBillingInformation throwing Object reference not set to an instance of an object.

    In my Umbraco project I just installed Ucommerce v9.2. I did not installed Avenue Clothing package. I want to create my store from scratch. When I execute the EditBillingInformation of the Transaction Library I get an Object null exception.

    See below my code and the detail of the exception. It is failing is this pipeline CustomerIsCheckingOut, if I remove it from the config, the error is gone.

    Thanks in advance

    var country = Country.All().FirstOrDefault(x => x.Name == "United States");

    var countryId = country.CountryId;

    TransactionLibrary.EditBillingInformation("John", "Doe", "[email protected]", "5554444", "555333", "Test company", "Fake Street 1234", "", "10001", "New York", "New York", "", countryId);

    Object reference not set to an instance of an object.

    [NullReferenceException: Object reference not set to an instance of an object.] Ucommerce.Pipelines.Transactions.Baskets.AddAddress.FeedCustomerIsCheckingOutTask.Execute(IPipelineArgs2 subject) +906 Ucommerce.Pipelines.Pipeline1.Execute(T subject) +378

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies