Avoid error when Spree::Config[:auto_capture] is set to true