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