swiss-crm-activemerchant 1.0.17 → 1.0.18

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f9f3c0642e29d168e2c1222210a1d8c4270d907f04b1d0f55f73fb624b9d6089
4
- data.tar.gz: 913da09a8856bfdf6f716329ba1c21a1c92373092603980ba115c9b8b9a11cf9
3
+ metadata.gz: a9891911c935a671e3bb636049136923afaf6baf4d9cfad253156aa680775b01
4
+ data.tar.gz: 52e815b1588ff7175ac27939c76ab13819cca5688164d3fc69ca485456cc51ce
5
5
  SHA512:
6
- metadata.gz: 8353b3411c97bdc1e321ba0c9e87c9f898f9b41d64b54ced4cd710f670a6540b39a47b3efb2fa060c51c3e8078a034d807f0cab1eddbe1b614c4a2f4136481fd
7
- data.tar.gz: b76e9eb213d7df98df0eb5d17dac021ddd52c25e7599fd0f32a898a40f4a069c83ac68a9980919bba2ee324439473c45efb58190257a5de5188bae7550cc54ea
6
+ metadata.gz: bd6bdda695dacad32d5b7e8e188884d4dd2539f7e2ced23567318e18e814219e0d98a002c8303b5d1f2684a64cf9694cd06ef77958761084ffd7dede902628ff
7
+ data.tar.gz: 88b55829f9008a89713d1b0c9b96201319a53f9ef9fb62dd34ff14213ed9d2f98016d6d27c38eca58931779a00d35b17b96ff5f56e3aa6db607827bdf7618d20
@@ -127,7 +127,6 @@ module ActiveMerchant #:nodoc:
127
127
  post[:identity] = identity_id
128
128
  add_payment_method(post, payment_source, options)
129
129
  add_address(post, options)
130
-
131
130
  commit('payment_instruments', post, nil, options)
132
131
  end
133
132
 
@@ -164,7 +163,8 @@ module ActiveMerchant #:nodoc:
164
163
  def add_payment_method(post, payment_source, options)
165
164
  billing = options[:billing_address] || {}
166
165
  post[:type] = 'TOKEN'
167
- post[:token] = payment_source[:gateway_payment_profile_id]
166
+ post[:fraud_session_id] = payment_source[:finix_fraud_session_id]
167
+ post[:token] = payment_source[:gateway_payment_profile_id]
168
168
  end
169
169
 
170
170
  def add_invoice(post, amount, options)
@@ -249,6 +249,7 @@ module ActiveMerchant #:nodoc:
249
249
  amount: params[:amount],
250
250
  currency: params[:currency] || default_currency,
251
251
  merchant: @merchant_id,
252
+ fraud_session_id: params[:fraud_session_id],
252
253
  source: params[:instrument_id],
253
254
  idempotency_id: params[:idempotency_id],
254
255
  tags: params[:tags]
@@ -1,3 +1,3 @@
1
1
  module ActiveMerchant
2
- VERSION = '1.0.17'
2
+ VERSION = '1.0.18'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: swiss-crm-activemerchant
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.17
4
+ version: 1.0.18
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tobias Luetke
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2025-05-08 00:00:00.000000000 Z
11
+ date: 2025-05-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport