This commit is contained in:
2016-07-28 01:04:00 -04:00
committed by GitHub
parent ff977cc364
commit 8b02a80904

View File

@@ -60,6 +60,20 @@ class QboController < ApplicationController
end
end
# Quickbooks Webhook Callback
def qbo_webhook
# If the body contains the event notifications parameter...
if params[:eventNotifications].present?
# Process the entities
#TODO stuff
end
# The webhook doesn't require a response but let's make sure
# we don't send anything
render :nothing => true
end
#
# Synchronizes the QboCustomer table with QBO