generators/active_merchant/templates/lib/models/response.rb in killbill-3.1.11 vs generators/active_merchant/templates/lib/models/response.rb in killbill-3.1.12
- old
+ new
@@ -4,15 +4,16 @@
self.table_name = '<%= identifier %>_responses'
has_one :<%= identifier %>_transaction
- def self.from_response(api_call, kb_account_id, kb_payment_id, kb_payment_transaction_id, transaction_type, kb_tenant_id, response, extra_params = {}, model = ::Killbill::<%= class_name %>::<%= class_name %>Response)
+ def self.from_response(api_call, kb_account_id, kb_payment_id, kb_payment_transaction_id, transaction_type, payment_processor_account_id, kb_tenant_id, response, extra_params = {}, model = ::Killbill::<%= class_name %>::<%= class_name %>Response)
super(api_call,
kb_account_id,
kb_payment_id,
kb_payment_transaction_id,
transaction_type,
+ payment_processor_account_id,
kb_tenant_id,
response,
{
# Pass custom key/values here
#:params_id => extract(response, 'id'),