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