APP_Dynamic_Checkout
Dynamic Checkout class
Package
Contents
Description Description
Methods Methods
- __construct — Setups checkout.
- add_data — Stores given data in checkout.
- add_step
- add_step_after
- add_step_before
- call_step
- cancel_step — Mark current step as cancelled.
- complete_checkout — Completes the checkout after all steps finished.
- display_step
- finish_step — Mark current step as finished.
- get_checkout_type — Returns a checkout type.
- get_current_step — Returns current checkout step.
- get_data — Returns data from checkout for given key.
- get_data_from_order — Returns a basic checkout data from order.
- get_hash — Returns a checkout hash.
- get_next_step — Returns next checkout step.
- get_previous_step — Returns previous checkout step.
- get_steps — Returns an array of steps.
- get_steps_count — Returns a number of steps.
- get_transient_key — Returns a transient key.
- process_step
- redirect — Redirects user to given url.
- set_expiration — Sets expiration for a checkout data.
- set_redirect_flag — Sets redirect flag to checkout object.
- unregister_step
- verify_hash — Checks if checkout is valid, and has been setup.