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 +4 -4
- data/lib/active_merchant/billing/gateways/finix.rb +3 -2
- data/lib/active_merchant/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a9891911c935a671e3bb636049136923afaf6baf4d9cfad253156aa680775b01
|
4
|
+
data.tar.gz: 52e815b1588ff7175ac27939c76ab13819cca5688164d3fc69ca485456cc51ce
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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[:
|
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]
|
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.
|
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-
|
11
|
+
date: 2025-05-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|