title: Stripe Payment Error - StripeCheckout.open
body: <p>I am having a problem implementing stripe on my production server.  I use MAMP on my computer and it works fine on there but when I put it on my live server it does not work.  Here is the info, let me know if I forgot any details!</p>
  <p>I am using the standard overlay StripeCheckout.open method of checking out... none of my own payment info forms</p>
  <pre class="lang-js prettyprint-override"><code>$(&quot;#pay_now&quot;).click(function() {                        
      var value = checking();
      var amount = $('#total_summary').html();
      amount = amount.replace('$','');
      amount = Math.round(parseFloat(amount) * 100);
                                      
      if (value == 0) {
          var token = function(res) {
              var $input = $('&lt;input type=hidden name=stripeToken /&gt;').val(res.id);
              $('form').append($input).submit();
          };
                      
          StripeCheckout.open({
              key: '&lt;?php echo $stripe['publishable_key']; ?&gt;',
              address:     false,
              amount:      amount,
              currency:    'cad',
              panelLabel:  'Pay',
              token:       token
          });
                              
      } else {
          alert (&quot;Please fill out all the required fields.&quot;);
      }
                          
      return false;               
  });
  </code></pre>
  <p>When I click my #pay_now button (which is a submit button in a form), the Stripe modal comes up.  I enter all the payment information, click Pay and it goes to my thank you/charge page and remains blank</p>
  <p>I get an error in firebug that says</p>
  <p>Error: Method not allowed: overlayClosed
  <a href="https://checkout.stripe.com/v2/inner/index.js" rel="nofollow noreferrer">https://checkout.stripe.com/v2/inner/index.js</a>
  Line 13151</p>
  <p>Not really sure what the issue is and have tried all I can think of.  Anyone have thoughts?  Thanks!!</p>