Method: EffectiveOrders.payment_providers
- Defined in:
- lib/effective_orders.rb
.payment_providers ⇒ Object
The Effective::Order.payment_provider value must be in this collection
138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 |
# File 'lib/effective_orders.rb', line 138 def self.payment_providers [ ('cheque' if cheque?), ('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 phone?), ('pretend' if pretend?), ('refund' if refund?), ('stripe' if stripe?), ('other' if mark_as_paid?), 'none' ].compact end |