pero-ict-solutions/spree_mollie

View on GitHub
app/models/spree/payment_method/mollie.rb

Summary

Maintainability
A
0 mins
Test Coverage
module Spree
  class PaymentMethod::Mollie < PaymentMethod
    preference :api_key, :string

    def payment_profiles_supported?
      false
    end

    def cancel(*)
    end

    def source_required?
      false
    end

    def credit(*)
      self
    end

    def success?
      true
    end

    def authorization
      self
    end
  end
end