Changing to use Non-Hosted button

You can't pass through the amount dynamically with a hosted button so the current hosted button configuration won't change the amount that gets passed over to PayPal. By using the non-hosted button with the changes I've made, it works great!