Jay Elbourne


1,010 Experience
10 Lessons Completed
0 Questions Solved


I had same issue and its a simple fix.

Turbolinks is the problem so to fix wrap your stripe javascript function like so in your coffee file:

ready = ->

the stripe functions go here

$(document).on('page:load', ready)

Screencast tutorials to help you learn Ruby on Rails, Javascript, Hotwire, Turbo, Stimulus.js, PostgreSQL, MySQL, Ubuntu, and more. Icons by Icons8

© 2023 GoRails, LLC. All rights reserved.