I need the buy now button on a site i'm developing to be the output value of a php form that is on the same page.
Right now this outputs the value I need in plain text on the page itself:
But when I put it into the paypal form value I get an error when testing saying the value is incorrect.Code:<?php echo $sum_total; ?>
Does anyone know why this is happening and what I can do to fix it?Code:<input type="hidden" name="amount" value="<?php echo $sum_total; ?>">





Reply With Quote

Let me know how this works as so far it's plain sailing at my end.
+rep to you good sir!
