DEV Community

Discussion on: Laravel Jetstream Subscription Billing With Stripe Checkout and Customer Portal

Collapse
 
ibourgeois profile image
Derek Bourgeois

You are not importing the Stripe JS library, so this tutorial will result in:

Uncaught ReferenceError: Stripe is not defined
    at billing:408
Enter fullscreen mode Exit fullscreen mode

You can add the following to resources/views/billing.blade.php, above the <script> tag:

<script src="https://js.stripe.com/v3/"></script>
Enter fullscreen mode Exit fullscreen mode
Collapse
 
cearls profile image
Chris Earls • Edited

Good catch! I've added this.