calculate cart subtotal, Stripe Checfkout and implement checkout