Hi I am using paypal minicart script for my website. i am trying to add an event to the oncheckout so that when a user clicks the check out
They have to select a delivery country then based on that i would like to count the items in the cart and times this by the delivery cost and add this as the shipping cost. before proceeding to the paypal page

I have been trying to figure out a way of doing this by looking at examples but cant find anything close to what i am after i have never scripted in java so any advice or pointers would be a great help