Added checks to ensure you use the correct gateway for payments.
Moved package view checkout link to view class.