Jay Elbourne

Joined

1,010 Experience
10 Lessons Completed
0 Questions Solved

Activity

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).ready(ready)
$(document).on('page:load', ready)

logo Created with Sketch.

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

© 2022 GoRails, LLC. All rights reserved.