I see quite a few problems:
- You are using 'undefined_quantity' which is only used with buy now buttons.
- You are trying to do a cart upload button but doing the variables incorrectly (you enumerate with '_x', not just 'x' appended to the var name. I will post code below.
- You are missing a required '_cart' button parameter. Cart buttons always have either 'add=1' (add to cart), 'display=1' (view cart, overrides add), and 'upload=1' (upload, for sending multiple items at once).
- Your cancel return URL does not have 'http://' which is required with PayPal.
- PayPal only accepts 'floats' or amounts in two decimal place precision.
- Along with #5, I'm guessing your 'tax' value is supposed to be a percentage, and not the actual amount. For this, you would use 'tax_rate' for percents. Use 'tax_cart' if you know the exact tax for the total of all items in the cart.
See button code for a cart upload button below:
You should check for the variables PayPal supports for Website Payments Standard (buttons) here.