Sha256: 4a255fae479a61acc56cfe8576880828ecacccfeb8cb8226daad32dcee00364a

Contents?: true

Size: 755 Bytes

Versions: 10

Compression:

Stored size: 755 Bytes

Contents

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

        private

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

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

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

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

Version data entries

10 entries across 10 versions & 1 rubygems

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