title: How do I test Paypal subscription buttons with sandbox?
body: <p>after 5 hours of research and reading outdated paypal documentation I finally give up!</p>
  
  <p>I need to test a simple paypal subscription button with the paypal sandbox.</p>
  
  <p><strong>Button Code:</strong></p>
  
  <pre><code>&lt;form action="https://www.sandbox.paypal.com/us/cgi-bin/webscr" method="post"&gt;
       &lt;input type="hidden" name="cmd" value="_s-xclick"&gt;
       &lt;input type="hidden" name="hosted_button_id" value="34CXHXVU2J8BY"&gt;
       &lt;input type="image" 
              src="https://www.paypalobjects.com/en_US/GB/i/btn/btn_subscribeCC_LG.gif" 
              border="0" name="submit" 
              alt="PayPal — The safer, easier way to pay online." 
              style="border:none;padding:0;height:auto;width:auto"&gt;
       &lt;img alt="" border="0" 
            src="https://www.paypalobjects.com/de_DE/i/scr/pixel.gif" 
            width="1" height="1"&gt;
  &lt;/form&gt;
  </code></pre>
  
  <p>But when I try to send the form, I get this error on the paypal website:</p>
  
  <p><a href="https://i.stack.imgur.com/AVuTz.png" rel="noreferrer"><img src="https://i.stack.imgur.com/AVuTz.png" alt="http://i.stack.imgur.com/AVuTz.png"></a></p>
  
  <p>Thanks in Advance, 
  Phillip</p>