Tuesday, July 19, 2016

ReferenceError: Stripe is not defined

1. Make sure you have:
<body data-no-turbolink>

2. <script src="https://js.stripe.com/v2/"></script>



Possible Problem:
<script src="https://js.stripe.com/v2/"></script>

Possible Fix: 



Remove the comma in the form:




<form action="create" method="POST" id="payment-form", class='form-horizontal'>

No comments:

Post a Comment