diff --git a/app/controllers/stripe/callbacks_controller.rb b/app/controllers/stripe/callbacks_controller.rb index 4db446144f..1b3cfec502 100644 --- a/app/controllers/stripe/callbacks_controller.rb +++ b/app/controllers/stripe/callbacks_controller.rb @@ -2,6 +2,7 @@ require 'stripe/account_connector' module Stripe class CallbacksController < BaseController + # GET /stripe/callbacks def index connector = Stripe::AccountConnector.new(spree_current_user, params) diff --git a/app/controllers/stripe/webhooks_controller.rb b/app/controllers/stripe/webhooks_controller.rb index 8ada0361b6..19f8b608eb 100644 --- a/app/controllers/stripe/webhooks_controller.rb +++ b/app/controllers/stripe/webhooks_controller.rb @@ -5,7 +5,7 @@ module Stripe protect_from_forgery except: :create before_filter :verify_webhook - # POST /stripe/webhook + # POST /stripe/webhooks def create handler = WebhookHandler.new(@event) result = handler.handle