Started make_purchase.php (+ other minor edits). Not done and needs testing.