Sha256: 56788425cedba57882cc3e9562829169268d72e828c0819dd9dea1cb5f8e31ac

Contents?: true

Size: 289 Bytes

Versions: 2

Compression:

Stored size: 289 Bytes

Contents

module Workarea
  decorate Storefront::Checkout::PlaceOrderController, with: :kount do
    def try_place_order
      if current_checkout.place_order || current_checkout.handle_kount_review
        completed_place_order
      else
        incomplete_place_order
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
workarea-kount-3.3.1 app/controllers/workarea/storefront/checkout/place_order_controller.decorator
workarea-kount-3.3.0 app/controllers/workarea/storefront/checkout/place_order_controller.decorator