Sign in through GitHub

Please read for an updated status on RailsCasts:

Learn more or hide this

vanceza's Profile

GitHub User: vanceza

Comments by

Avatar

In subscriptions.js.coffee:

subscription =
  setupForm: ->
      $('#new_subscription').submit ->
      $('input[type=submit]').attr('disabled', true)
      subscription.processCard()
      false

You need to add 'false' to prevent the submit button from working and going to the next page.