Sha256: 587fc0aac897b50f30cb36fe118c83e323e63489dec85a6cc21a3a1f5bf45d34
Contents?: true
Size: 755 Bytes
Versions: 3
Compression:
Stored size: 755 Bytes
Contents
module Spree module SolidusSixSaferpay module Transaction # explicit parent must be stated, otherwise Spree::CheckoutController has precendence 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
3 entries across 3 versions & 1 rubygems