lib/processout/invoice.rb in processout-2.5.0 vs lib/processout/invoice.rb in processout-2.6.0
- old
+ new
@@ -392,11 +392,11 @@
request = Request.new(@client)
path = "/invoices/" + CGI.escape(@id) + "/authorize"
data = {
"synchronous" => options.fetch(:synchronous, nil),
- "prioritized_gateway_configuration_id" => options.fetch(:prioritized_gateway_configuration_id, nil),
+ "retry_drop_liability_shift" => options.fetch(:retry_drop_liability_shift, nil),
"source" => source
}
response = Response.new(request.post(path, data, options))
return_values = Array.new
@@ -420,10 +420,10 @@
request = Request.new(@client)
path = "/invoices/" + CGI.escape(@id) + "/capture"
data = {
"authorize_only" => options.fetch(:authorize_only, nil),
"synchronous" => options.fetch(:synchronous, nil),
- "prioritized_gateway_configuration_id" => options.fetch(:prioritized_gateway_configuration_id, nil),
+ "retry_drop_liability_shift" => options.fetch(:retry_drop_liability_shift, nil),
"source" => source
}
response = Response.new(request.post(path, data, options))
return_values = Array.new