Sha256: 018ce4c3629eacffc5abb475784c9d23b49ea5b1548fd79e4dcc46224866bfec

Contents?: true

Size: 1.2 KB

Versions: 7

Compression:

Stored size: 1.2 KB

Contents

= render order

.effective-order.effective-order-purchase-actions
  - if (Rails.env.production? == false && EffectiveOrders.allow_pretend_purchase_in_development)
    = render :partial => '/effective/orders/pretend/form', locals: {order: order, purchased_redirect_url: purchased_redirect_url, declined_redirect_url: declined_redirect_url}

  - if (Rails.env.production? == true && EffectiveOrders.allow_pretend_purchase_in_production)
    = render :partial => '/effective/orders/pretend/form', locals: {order: order, purchased_redirect_url: purchased_redirect_url, declined_redirect_url: declined_redirect_url}

  - 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 (Rails.env.production? == true && EffectiveOrders.allow_pretend_purchase_in_production)
    %p= EffectiveOrders.allow_pretend_purchase_in_production_message

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
effective_orders-1.7.5 app/views/effective/orders/_checkout_step_2.html.haml
effective_orders-1.7.4 app/views/effective/orders/_checkout_step_2.html.haml
effective_orders-1.7.3 app/views/effective/orders/_checkout_step_2.html.haml
effective_orders-1.7.2 app/views/effective/orders/_checkout_step_2.html.haml
effective_orders-1.7.1 app/views/effective/orders/_checkout_step_2.html.haml
effective_orders-1.7.0 app/views/effective/orders/_checkout_step_2.html.haml
effective_orders-1.6.6 app/views/effective/orders/_checkout_step_2.html.haml