Sha256: 25c94583a5d2e5a00fb1686770f66ca1845659add033e8ac5b0598f06c3fdeed

Contents?: true

Size: 1.13 KB

Versions: 1

Compression:

Stored size: 1.13 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 true || 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 payment information is not required to process this order at this time.
  %p * credit card details are not currently required to process this order
- 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

1 entries across 1 versions & 1 rubygems

Version Path
effective_orders-1.0.0 app/views/effective/orders/_checkout_step_2.html.haml