This is the API docs for LemonStand V1, which has been discontinued. LemonStand is now a cloud based platform, available at lemonstand.com.

LemonStand API

shop:payment_receipt CMS action

Defined in /modules/shop/classes/shop_actions.php, lines 1634-1661
Author LemonStand eCommerce Inc.
Base action for the Payment Receipt page. The action loads an order by an order hash string, specified in the page URL and prepares all required PHP variables.

Generated PHP variables

Variable Type Description
order Shop_Order an order object, loaded from the database.
payment_processed boolean indicates whether a payment has already been processed for the order.
items Db_DataCollection a list of order items.

Generated PHP variable details

order variable

Shop_Order $order;
An order object, loaded from the database. This variable can be NULL of the order is not found.

payment_processed variable

boolean $payment_processed;
Indicates whether a payment has already been processed for the order. You can use this variable to display the "Order not paid" message instead of the normal receipt page.

items variable

A list of order items. Each element of the collection is an object of the Shop_OrderItem class. This variable exists only if the requested order was found in the database.