Update stripe controller routing comments

This commit is contained in:
Rob Harrington
2017-10-16 09:39:15 +11:00
parent bca409bfe4
commit 9e40502876
2 changed files with 2 additions and 1 deletions

View File

@@ -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)

View File

@@ -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