Skipping Devise Confirmation for Stripe Signup
Hi Chris - How could I skip the Devise confirmation if a user is signing up to pay with Stripe?
I am following this video on your stripe course: https://courses.gorails.com/courses/payments-with-rails-master-class/152586-subscriptions-with-stripe-billing/451458-3-4-new-subscription-form
I was hoping I could do something like below.
class Users::RegistrationsController < Devise::RegistrationsController
invisible_captcha only: [:create], honeypot: :telephone, scope: :user, on_spam: :return_succeded
if @user.persisted? && current_user.subscribed?