Sha256: 79c3b3cc133f879200a45427b7f8b5135bfeb1fb0015d2d132674b454751475f
Contents?: true
Size: 1.04 KB
Versions: 17
Compression:
Stored size: 1.04 KB
Contents
= render order - if EffectiveOrders.moneris_enabled = render :partial => '/effective/orders/moneris/form', :locals => {:order => order, :purchased_redirect_url => purchased_redirect_url, :declined_redirect_url => declined_redirect_url} - if EffectiveOrders.paypal_enabled = render :partial => '/effective/orders/paypal/form', :locals => {:order => order} - if EffectiveOrders.stripe_enabled = render :partial => '/effective/orders/stripe/form', :locals => {:order => order} - if EffectiveOrders.allow_pretend_purchase_in_production = link_to 'Process Order', effective_orders.pretend_purchase_path(order, :purchased_redirect_url => purchased_redirect_url, :declined_redirect_url => declined_redirect_url), :class => 'btn btn-primary' %p= EffectiveOrders.allow_pretend_purchase_in_production_message - elsif Rails.env.development? = link_to 'Process Order (development only)', effective_orders.pretend_purchase_path(order, :purchased_redirect_url => purchased_redirect_url, :declined_redirect_url => declined_redirect_url), :class => 'btn btn-primary'
Version data entries
17 entries across 17 versions & 1 rubygems