swiss-crm-activemerchant 1.0.18 → 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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a9891911c935a671e3bb636049136923afaf6baf4d9cfad253156aa680775b01
4
- data.tar.gz: 52e815b1588ff7175ac27939c76ab13819cca5688164d3fc69ca485456cc51ce
3
+ metadata.gz: 494d113f7f8d2156d533377e7acad75ad78afcdfbbed5b3de1a05a8ad923db00
4
+ data.tar.gz: 0c76aa50faf179d794317f50d30336971a42a0ccc1d92e03451a93948d55ba79
5
5
  SHA512:
6
- metadata.gz: bd6bdda695dacad32d5b7e8e188884d4dd2539f7e2ced23567318e18e814219e0d98a002c8303b5d1f2684a64cf9694cd06ef77958761084ffd7dede902628ff
7
- data.tar.gz: 88b55829f9008a89713d1b0c9b96201319a53f9ef9fb62dd34ff14213ed9d2f98016d6d27c38eca58931779a00d35b17b96ff5f56e3aa6db607827bdf7618d20
6
+ metadata.gz: 0d5d9f254c4657e805f043a04d0f4f547d1ba246695f252c423df6db4346cc6e40fbf0952c55f1e2135acc9e2e06271789a3e566799e717df8707d2670e05df0
7
+ data.tar.gz: 937d2e67ae60281abff651f376d0295c0b42761f8db3a6b46759a410ff6d0a7af3f912bbe4a161ad221ed2778f94357d537448105b5f204591389f4e7148172b
@@ -162,9 +162,12 @@ module ActiveMerchant #:nodoc:
162
162
 
163
163
  def add_payment_method(post, payment_source, options)
164
164
  billing = options[:billing_address] || {}
165
- post[:type] = 'TOKEN'
166
- post[:fraud_session_id] = payment_source[:finix_fraud_session_id]
167
- post[:token] = payment_source[:gateway_payment_profile_id]
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)
@@ -249,7 +252,6 @@ module ActiveMerchant #:nodoc:
249
252
  amount: params[:amount],
250
253
  currency: params[:currency] || default_currency,
251
254
  merchant: @merchant_id,
252
- fraud_session_id: params[:fraud_session_id],
253
255
  source: params[:instrument_id],
254
256
  idempotency_id: params[:idempotency_id],
255
257
  tags: params[:tags]
@@ -1,3 +1,3 @@
1
1
  module ActiveMerchant
2
- VERSION = '1.0.18'
2
+ VERSION = '1.0.19'
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.18
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-13 00:00:00.000000000 Z
11
+ date: 2025-05-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport