<form action="/shop/checkout/discounted/order_discounted.php" method="post">
    <input type="hidden" name="order_id" value="<?= $newbasket->order_id;?>">
    <input type="hidden" name="amount" value="<?php printf("%.2f", $newbasket->cost_total);?>">
    <button type="submit" name="pay" class="checkoutButton button right">Finalize Purchase</button>
</form>

<?php if (DEV_MODE) { ?>
    <p class="error">This is a fully discounted payment!</p>
<?php } ?>
