Best Blackhat Forum

Full Version: i little infor please on a form
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
<form action="/default.php?cashier=1" method="POST">
<script
src="https://checkout.stripe.com/checkout.js" class="stripe-button"
data-key="pk_test_oTVUBFAEt2am1vCRo8NLVgnR"
data-name= <?=$prousername?>
data-amount= "2500"
data-description="Credit Charge"
data-proimage="https://stripe.com/img/documentation/checkout/marketplace.png"
data-locale="auto"
data-currency="gbp">
</script>
</form>

that my simple form above
how to i get data-amoun to read
data-amount="2500" i need this to read from a imput box
Amount: <input type="text" name="data-amoun" id="data-amoun">

my example code that dont work

<form action="/default.php?cashier=1" method="POST">
Amount: <input type="text" name="data-amoun" id="data-amoun">
<script
src="https://checkout.stripe.com/checkout.js" class="stripe-button"
data-key="pk_test_oTVUBFAEt2am1vCRo8NLVgnR"
data-name= <?=$prousername?>
data-description="Credit Charge"
data-proimage="https://stripe.com/img/documentation/checkout/marketplace.png"
data-locale="auto"
data-currency="gbp">
</script>
</form>

any help would be fab
Reference URL's