Sha256: c849499e3b8be695ea32a92903cc975d7d080011b9a19b93a342823268f568fe

Contents?: true

Size: 1.61 KB

Versions: 24

Compression:

Stored size: 1.61 KB

Contents

= render(order)

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

  - if EffectiveOrders.allow_pretend_purchase_in_production
    - if Rails.env.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 EffectiveOrders.ccbill_enabled
    = render partial: '/effective/orders/ccbill/form', locals: {order: order}

  - if EffectiveOrders.app_checkout_enabled
    - if (EffectiveOrders.authorized?(controller, :app_checkout, order) rescue false)
      = render partial: '/effective/orders/app_checkout/form', locals: {order: order}

  - if EffectiveOrders.cheque_enabled
    = render partial: '/effective/orders/cheque/form', locals: {order: order}

  - if EffectiveOrders.allow_pretend_purchase_in_production
    %br
    %p= EffectiveOrders.allow_pretend_purchase_in_production_message

Version data entries

24 entries across 24 versions & 1 rubygems

Version Path
effective_orders-2.2.4 app/views/effective/orders/_checkout_step2.html.haml
effective_orders-2.2.3 app/views/effective/orders/_checkout_step2.html.haml
effective_orders-2.2.2 app/views/effective/orders/_checkout_step2.html.haml
effective_orders-2.2.1 app/views/effective/orders/_checkout_step2.html.haml
effective_orders-2.2.0 app/views/effective/orders/_checkout_step2.html.haml
effective_orders-2.1.17 app/views/effective/orders/_checkout_step2.html.haml
effective_orders-2.1.16 app/views/effective/orders/_checkout_step2.html.haml
effective_orders-2.1.15 app/views/effective/orders/_checkout_step2.html.haml
effective_orders-2.1.14 app/views/effective/orders/_checkout_step2.html.haml
effective_orders-2.1.13 app/views/effective/orders/_checkout_step2.html.haml
effective_orders-2.1.12 app/views/effective/orders/_checkout_step2.html.haml
effective_orders-2.1.10 app/views/effective/orders/_checkout_step2.html.haml
effective_orders-2.1.9 app/views/effective/orders/_checkout_step2.html.haml
effective_orders-2.1.8 app/views/effective/orders/_checkout_step2.html.haml
effective_orders-2.1.7 app/views/effective/orders/_checkout_step2.html.haml
effective_orders-2.1.6 app/views/effective/orders/_checkout_step2.html.haml
effective_orders-2.1.5 app/views/effective/orders/_checkout_step2.html.haml
effective_orders-2.1.4 app/views/effective/orders/_checkout_step2.html.haml
effective_orders-2.1.3 app/views/effective/orders/_checkout_step2.html.haml
effective_orders-2.1.2 app/views/effective/orders/_checkout_step2.html.haml