Sha256: e65200134e704d0424b9389881ee208fa0db606fe612a8a87b097dbe9d77b351

Contents?: true

Size: 754 Bytes

Versions: 13

Compression:

Stored size: 754 Bytes

Contents

module Spree
  module SolidusSixSaferpay
    module PaymentPage
      # explicit parent must be stated, otherwise Spree::CheckoutController has precendence
      class CheckoutController < SolidusSixSaferpay::CheckoutController

        private

        def initialize_payment(order, payment_method)
          InitializePaymentPage.call(order, payment_method)
        end

        def authorize_payment(saferpay_payment)
          AssertPaymentPage.call(saferpay_payment)
        end

        def process_authorization(saferpay_payment)
          ProcessPaymentPagePayment.call(saferpay_payment)
        end

        def inquire_payment(saferpay_payment)
          InquirePaymentPagePayment.call(saferpay_payment)
        end
      end
    end
  end
end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
solidus_six_saferpay-0.5.0 app/controllers/spree/solidus_six_saferpay/payment_page/checkout_controller.rb
solidus_six_saferpay-0.4.0 app/controllers/spree/solidus_six_saferpay/payment_page/checkout_controller.rb
solidus_six_saferpay-0.3.0 app/controllers/spree/solidus_six_saferpay/payment_page/checkout_controller.rb
solidus_six_saferpay-0.1.8.1 app/controllers/spree/solidus_six_saferpay/payment_page/checkout_controller.rb
solidus_six_saferpay-0.2.0 app/controllers/spree/solidus_six_saferpay/payment_page/checkout_controller.rb
solidus_six_saferpay-0.1.8 app/controllers/spree/solidus_six_saferpay/payment_page/checkout_controller.rb
solidus_six_saferpay-0.1.7 app/controllers/spree/solidus_six_saferpay/payment_page/checkout_controller.rb
solidus_six_saferpay-0.1.5 app/controllers/spree/solidus_six_saferpay/payment_page/checkout_controller.rb
solidus_six_saferpay-0.1.4 app/controllers/spree/solidus_six_saferpay/payment_page/checkout_controller.rb
solidus_six_saferpay-0.1.3 app/controllers/spree/solidus_six_saferpay/payment_page/checkout_controller.rb
solidus_six_saferpay-0.1.2 app/controllers/spree/solidus_six_saferpay/payment_page/checkout_controller.rb
solidus_six_saferpay-0.1.1 app/controllers/spree/solidus_six_saferpay/payment_page/checkout_controller.rb
solidus_six_saferpay-0.1.0 app/controllers/spree/solidus_six_saferpay/payment_page/checkout_controller.rb