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

53 Views Asked by At

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)

1

There are 1 best solutions below

0
On BEST ANSWER

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

Spree::Webhooks::HasWebhooks

to overridden order.rb and the issue got resolved