Method: EffectiveOrders.admin_payment_providers

Defined in:
lib/effective_orders.rb

.admin_payment_providersObject

For the Admin Mark as Paid screen



157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
# File 'lib/effective_orders.rb', line 157

def self.admin_payment_providers
  [
    ('cheque' if mark_as_paid?),
    ('credit card' if mark_as_paid?),
    ('etransfer' if etransfer?),
    #('free' if free?),
    ('moneris' if moneris?),
    ('moneris_checkout' if moneris_checkout?),
    ('paypal' if paypal?),
    ('phone' if mark_as_paid?),
    #('pretend' if pretend?),
    #('refund' if refund?),
    ('stripe' if stripe?),
    ('other (non credit card)' if mark_as_paid?),
    'none'
  ].compact
end