Unhandled Error!

Undefined variable: payment_method

Document Transfer
Document type CMS page
Line 7
Exception class Cms_ExecutionException

Code Highlight

<? 
	$this->render_partial('breadcrumb'); 
	$this->render_partial('shop_cart');
	$this->render_partial('shop_print'); 
?>
<div class="inner">
	<? if (h($payment_method->id)==3): ?>
		<h4><?= h($payment_method->name) ?></h4>
		<? if (!$order): ?>
			<p>Order not found.</p>
		<? else: ?>
			<? if ($order->payment_processed()): ?>
				<p>This order has already been paid. Thank you.</p>
# Document Type
1 Transfer CMS page