added checkout process functions. testing paypal integration