Class: PaymentMethod::SaferpayTransaction

Inherits:
SaferpayPaymentMethod
  • Object
show all
Defined in:
app/models/spree/payment_method/saferpay_transaction.rb

Instance Method Summary collapse

Instance Method Details

#gateway_classObject



4
5
6
# File 'app/models/spree/payment_method/saferpay_transaction.rb', line 4

def gateway_class
  ::SolidusSixSaferpay::TransactionGateway
end

#init_path(order) ⇒ Object



8
9
10
# File 'app/models/spree/payment_method/saferpay_transaction.rb', line 8

def init_path(order)
  url_helpers.solidus_six_saferpay_transaction_init_path(order.number)
end