Used frontPayment() function from library/payment.inc.php. Also, placed parameters for the timestamp and auth.