lib/active_merchant/billing/gateways/fat_zebra.rb in activemerchant-1.105.0 vs lib/active_merchant/billing/gateways/fat_zebra.rb in activemerchant-1.106.0
- old
+ new
@@ -77,10 +77,11 @@
def store(creditcard, options={})
post = {}
add_creditcard(post, creditcard)
+ post[:is_billing] = true if options[:recurring]
commit(:post, 'credit_cards', post)
end
def supports_scrubbing?
@@ -157,11 +158,11 @@
success = success_from(response)
Response.new(
success,
message_from(response),
response,
- :test => response['test'],
- :authorization => authorization_from(response, success, uri)
+ test: response['test'],
+ authorization: authorization_from(response, success, uri)
)
end
def success_from(response)
(