mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-03-01 02:03:22 +00:00
Update stripe controller routing comments
This commit is contained in:
@@ -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)
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user