Most popular shopping cart scripts can be modified to do exactly what you need, and some have pre-built extensions.
Magento bypass shopping cart – MageCorner
Magento – How to skip shopping cart page ? | Magento Web Developer – Nikunj Vadariya
Magento Product Addtocart go to Checkout Page by skip Cart Page – Magento Stack Exchange