Class: Spree::Webhook::PaywaysController

Inherits:
BaseController
  • Object
show all
Defined in:
app/controllers/spree/webhook/payways_controller.rb

Instance Method Summary collapse

Instance Method Details

#continueObject



25
26
27
# File 'app/controllers/spree/webhook/payways_controller.rb', line 25

def continue
  continue_callback_handler
end

#returnObject



14
15
16
17
18
# File 'app/controllers/spree/webhook/payways_controller.rb', line 14

def return
  handler_service = request_updater_service

  return_callback_handler(handler_service)
end

#v2_continueObject



21
22
23
# File 'app/controllers/spree/webhook/payways_controller.rb', line 21

def v2_continue
  continue_callback_handler
end

#v2_returnObject

match via: [:get, :post] “response”=>“{"tran_id":"PE13LXT1","status":0”“}



8
9
10
11
12
# File 'app/controllers/spree/webhook/payways_controller.rb', line 8

def v2_return
  handler_service = v2_request_updater_service

  return_callback_handler(handler_service)
end