title: How to create a popup like Stripe checkout
body: <p>I have been tasked with creating a web application that creates popups on other sites like Stripe checkout does those using this code (attached below) in checkout documentation (<a href="https://stripe.com/docs/quickstart" rel="nofollow noreferrer">https://stripe.com/docs/quickstart</a>). I have experience with Iframe but not using script tags.</p>
  
  <p>Any advice or sample code will do.</p>
  
  <pre><code>&lt;form action="your-server-side-code" method="POST"&gt;   
    &lt;script src="https://checkout.stripe.com/checkout.js" 
            class="stripe-button"     
            data-key="pk_test_g6do5S237ekq10r65BnxO6S0"     
            data-amount="999"     
            data-name="Stripe.com"    
            data-description="Example charge"     
            data-image="https://stripe.com/img/documentation/checkout/marketplace.png"     
            data-locale="auto"    
            data-zip-code="true"&gt;  
    &lt;/script&gt; 
  &lt;/form&gt;
  </code></pre>