class Stall::Checkout::PaymentReturnCheckoutStep

Public Instance Methods

allow_inactive_carts?() click to toggle source

When we access this step, the cart is “inactive”, since it is paid, so we force processing the cart.

# File lib/stall/checkout/payment_return_checkout_step.rb, line 16
def allow_inactive_carts?
  true
end
prepare() click to toggle source
# File lib/stall/checkout/payment_return_checkout_step.rb, line 7
def prepare
  if archivable_cart?(cart)
    archive_paid_cart_cookie(cart.identifier)
  end
end