sandbox amount_missing

Tudsy
Contributor
Contributor
 
 
 
 
Hi
 
I am in the sandbox environment and I get this error:
 
 
Here is the form:
 
<form  action='https://www.sandbox.paypal.com/cgi-bin/webscr' id='Form1' name='Form'  onSubmit = 'return validateForm()' method="POST" > 
 
<input type="hidden" name="cmd" value="_cart">
 
<input type='hidden' name='business' value='xxxxxxxxxxxx' />
 
<input type="hidden"   name="upload" value="1">
 
<INPUT TYPE="hidden" id='RETURL' NAME="return" />
 
    
<INPUT TYPE="hidden" NAME="currency_code" value="AUD">
    
<input type='hidden' id = 'Cost' name='Price' value='<?php echo $_POST['Price']; ?>' />
 <input type='hidden' id = 'pic' name='Graphic' value='<?php echo $_POST['Graphic']; ?>' />
<input type = 'hidden' id='Artist'  name ='Person' value ='<?php echo $_POST['Person']; ?>' />
 
    <label for='Age_of_Subscriber'>Please enter your Age (in years - Privacy purposes - Must be 13 years old or over): </label> 
    <input type='number' id= 'AGE1' name='Age'  placeholder='Enter your Age' />
    <br>
<br>
   <label for='First_Name2'>Please enter your First Name:</label> 
   <input type='text'  id='FName' name='FirstName'  placeholder='Enter your Firstname' />
   <br>
   <br>
   <label for='Last_Name2'>Please enter your Last Name:</label> 
   <input type='text' id='SName' name='LastName'  placeholder = 'Enter your Surname' />
   <br>
   <br>
   <br>   
   <label for='email2'>Please enter your Email Address in the following format: xxxxxxxxxxxxxxxx </label> 
   <input type='email' id='Email' name='EmailAddress'   placeholder ='Your Email Address'  />
 <br>
<br>
 
 
<p>
 
<br>
<br>
 
  <script>
      
      
      Graphic = "<?php echo $_POST['Graphic']; ?>";
      
      
  </script>
 
<input type="hidden" name="item_name" value='"Your Graphic in JPEG format - " + Graphic' >
 
 
<input type="hidden" name="amount" value="2.00">
 
<INPUT TYPE="hidden" name="address_override" value="1">
 
 
   
  <input type='submit' id='submit_form' value ='Buy your ART- <?php echo $_POST['Graphic']; ?>'   /> 
    
</form>
 
   
 
Login to Me Too
1 REPLY 1

Tudsy
Contributor
Contributor

HI

 

The problem has now been resolved. thanks.

Login to Me Too

Haven't Found your Answer?

It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.