6dfad7e9cd
1. Awaiting Payment (red) - this will stay awaiting payment until either the admin confirms payment or paypal sends it IPN message to confirm that CC payment was successfull. 2. Payment Confirmed (green) - this means payment has been received but the item hasn't been posted. To mark as completed you will need to view the order and click "confirm order delivery" 3. completed. These aren't shown on the view orders but the order can still be viewed by typing in the order number. - Side bar integration, Basket contents appears on the sidebar.
18 lines
668 B
PHP
18 lines
668 B
PHP
|
|
<h2><?= $order->title()?></h2>
|
|
Payment is <?= $order->payment_method()?><?
|
|
|
|
if ($order->status==Order_Model::WAITING_PAYMENT){
|
|
?><br/><a href="<?= url::site("basket/confirm_order_payment/".$order->id)."?csrf=$csrf";?>">Confirm Order Payment</a> <?
|
|
}
|
|
|
|
if ($order->status==Order_Model::PAYMENT_CONFIRMED){
|
|
?><br/><a href="<?= url::site("basket/confirm_order_delivery/".$order->id)."?csrf=$csrf";?>">Confirm Order Delivery</a> <?
|
|
}
|
|
if ($order->method==Order_Model::PAYMENT_PAYPAL){
|
|
?><br/><a href="<?= url::site("basket/view_ipn/".$order->id);?>">View Paypal IPN Messages</a><?
|
|
}
|
|
|
|
|
|
?><br/>
|
|
<?= str_replace(array("\r\n", "\n", "\r"),"<br/>",$order->text);?>
|