How to pass the calculation from Inventory Widget into paypal?