I have set up an account that works ok until I try to send the 'amount' using a php variable. I have a radio button set and I retrieve the value from there as such: $am = $_POST['mem']; .. mem is the name given to the radio buttons. Then when I try to send this to PayPal it does not recognize it. I am sending : <input type="hidden" name="amount" value="<?php echo $am ?>"> If I test the variable $am it shows it to be '25'. However, If I send with the value hard coded ( value="25") everything works ok. Any ideas why this is not working?
... View more