ruby-on-railsrubyspreestorefront

NoMethodError in Spree::Api::V2::Storefront::CheckoutController#complete how to solve this in spree 4.6 storefront api


I was using 4.40 spree and recently updated it to 4.6 and updated it accordingly but the issue regarding checkout API is still there attaching error image below. Thank you in advance. error(1) error(2)


Solution

  • The error was related to the web hooks. I just included the

    Spree::Webhooks::HasWebhooks
    

    to overridden order.rb and the issue got resolved