Sha256: f4ce9e4d32a72ea0b648a84bb0a594e410cdac39dbfde06ad0de06bf72500193

Contents?: true

Size: 210 Bytes

Versions: 5

Compression:

Stored size: 210 Bytes

Contents

module Workarea
  decorate Storefront::Checkout::PlaceOrderController, with: :klarna do
    private

    def finished_checkout_destination
      current_checkout.payment.redirect_url || super
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
workarea-klarna-1.1.0 app/controllers/workarea/storefront/checkout/place_order_controller.decorator
workarea-klarna-1.1.0.beta1 app/controllers/workarea/storefront/checkout/place_order_controller.decorator
workarea-klarna-1.0.0 app/controllers/workarea/storefront/checkout/place_order_controller.decorator
workarea-klarna-1.0.0.beta2 app/controllers/workarea/storefront/checkout/place_order_controller.decorator
workarea-klarna-1.0.0.beta1 app/controllers/workarea/storefront/checkout/place_order_controller.decorator