Slide 34
Slide 34 text
Inspect Code
def gateway_action(source, action, success_state)
protect_from_connection_error do
check_environment
response = payment_method.send(action, (amount * 100).round,
source,
gateway_options)
handle_response(response, success_state, :failure)
end
end
spree_core/app/models/payment/processing.rb