Sha256: e6e7aa9086ef37e980f72b9227673631e6895c985bed9c996e937ea791025571
Contents?: true
Size: 502 Bytes
Versions: 2
Compression:
Stored size: 502 Bytes
Contents
module Spree class SisowStatusController < ApplicationController def update begin order = Order.find_by_number!(params[:order_id]) sisow = PaymentMethod::SisowBilling.new(order) sisow.process_response(params) order.next unless order.completed? head :ok rescue ActiveRecord::RecordNotFound logger.error "ERROR: Sisow reply failed, order (#{params[:order_id]}) not found" head :internal_server_error end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
spree_billing_sisow-0.9.2 | app/controllers/spree/sisow_status_controller.rb |
spree_billing_sisow-0.9.1 | app/controllers/spree/sisow_status_controller.rb |