swiss-crm-activemerchant 1.0.17 → 1.0.19
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 +6 -3
- 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: 494d113f7f8d2156d533377e7acad75ad78afcdfbbed5b3de1a05a8ad923db00
|
4
|
+
data.tar.gz: 0c76aa50faf179d794317f50d30336971a42a0ccc1d92e03451a93948d55ba79
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0d5d9f254c4657e805f043a04d0f4f547d1ba246695f252c423df6db4346cc6e40fbf0952c55f1e2135acc9e2e06271789a3e566799e717df8707d2670e05df0
|
7
|
+
data.tar.gz: 937d2e67ae60281abff651f376d0295c0b42761f8db3a6b46759a410ff6d0a7af3f912bbe4a161ad221ed2778f94357d537448105b5f204591389f4e7148172b
|
@@ -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
|
|
@@ -163,8 +162,12 @@ module ActiveMerchant #:nodoc:
|
|
163
162
|
|
164
163
|
def add_payment_method(post, payment_source, options)
|
165
164
|
billing = options[:billing_address] || {}
|
166
|
-
post[:type] = '
|
167
|
-
post[:
|
165
|
+
post[:type] = 'PAYMENT_CARD'
|
166
|
+
post[:name] = billing[:name]
|
167
|
+
post[:number] = payment_source.number
|
168
|
+
post[:expiration_month] = payment_source.month
|
169
|
+
post[:expiration_year] = payment_source.year
|
170
|
+
post[:security_code] = payment_source.verification_value
|
168
171
|
end
|
169
172
|
|
170
173
|
def add_invoice(post, amount, options)
|
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.19
|
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-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|