Class: Stall::Checkout::PaymentReturnCheckoutStep
- Includes:
- Stall::CartHelper
- Defined in:
- lib/stall/checkout/payment_return_checkout_step.rb
Instance Attribute Summary
Attributes inherited from Step
Instance Method Summary collapse
-
#allow_inactive_carts? ⇒ Boolean
When we access this step, the cart is “inactive”, since it is paid, so we force processing the cart.
- #prepare ⇒ Object
Methods included from Stall::CartHelper
#current_cart, #current_customer
Methods inherited from Step
#identifier, #initialize, #inject, #is?, #process, #save, #skip?, #valid?
Constructor Details
This class inherits a constructor from Stall::Checkout::Step
Instance Method Details
#allow_inactive_carts? ⇒ Boolean
When we access this step, the cart is “inactive”, since it is paid, so we force processing the cart.
13 14 15 |
# File 'lib/stall/checkout/payment_return_checkout_step.rb', line 13 def allow_inactive_carts? true end |
#prepare ⇒ Object
6 7 8 |
# File 'lib/stall/checkout/payment_return_checkout_step.rb', line 6 def prepare (cart.identifier) end |