activemerchant 1.87.0 → 1.88.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG +5 -0
- data/lib/active_merchant/billing/gateways/authorize_net.rb +15 -15
- data/lib/active_merchant/billing/gateways/authorize_net_cim.rb +33 -33
- data/lib/active_merchant/billing/gateways/cardknox.rb +10 -10
- data/lib/active_merchant/billing/gateways/cyber_source.rb +13 -13
- data/lib/active_merchant/billing/gateways/epay.rb +9 -9
- data/lib/active_merchant/billing/gateways/eway_managed.rb +18 -18
- data/lib/active_merchant/billing/gateways/exact.rb +10 -10
- data/lib/active_merchant/billing/gateways/litle.rb +1 -1
- data/lib/active_merchant/billing/gateways/merchant_one.rb +3 -3
- data/lib/active_merchant/billing/gateways/merchant_ware.rb +4 -4
- data/lib/active_merchant/billing/gateways/mundipagg.rb +1 -1
- data/lib/active_merchant/billing/gateways/netbilling.rb +8 -8
- data/lib/active_merchant/billing/gateways/ogone.rb +2 -2
- data/lib/active_merchant/billing/gateways/omise.rb +5 -5
- data/lib/active_merchant/billing/gateways/opp.rb +1 -1
- data/lib/active_merchant/billing/gateways/paymill.rb +5 -5
- data/lib/active_merchant/billing/gateways/paypal.rb +1 -1
- data/lib/active_merchant/billing/gateways/paystation.rb +76 -76
- data/lib/active_merchant/billing/gateways/payu_latam.rb +1 -1
- data/lib/active_merchant/billing/gateways/quickbooks.rb +2 -2
- data/lib/active_merchant/billing/gateways/quickpay/quickpay_v10.rb +150 -150
- data/lib/active_merchant/billing/gateways/sage.rb +11 -11
- data/lib/active_merchant/billing/gateways/sage_pay.rb +5 -5
- data/lib/active_merchant/billing/gateways/wirecard.rb +5 -5
- data/lib/active_merchant/version.rb +1 -1
- metadata +2 -8
@@ -97,17 +97,17 @@ module ActiveMerchant #:nodoc:
|
|
97
97
|
end
|
98
98
|
|
99
99
|
def scrub(transcript)
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
|
110
|
-
|
100
|
+
force_utf8(transcript).
|
101
|
+
gsub(%r((M_id=)[^&]*), '\1[FILTERED]').
|
102
|
+
gsub(%r((M_key=)[^&]*), '\1[FILTERED]').
|
103
|
+
gsub(%r((C_cardnumber=)[^&]*), '\1[FILTERED]').
|
104
|
+
gsub(%r((C_cvv=)[^&]*), '\1[FILTERED]').
|
105
|
+
gsub(%r((C_rte=)[^&]*), '\1[FILTERED]').
|
106
|
+
gsub(%r((C_acct=)[^&]*), '\1[FILTERED]').
|
107
|
+
gsub(%r((C_ssn=)[^&]*), '\1[FILTERED]').
|
108
|
+
gsub(%r((<ns1:CARDNUMBER>).+(</ns1:CARDNUMBER>)), '\1[FILTERED]\2').
|
109
|
+
gsub(%r((<ns1:M_ID>).+(</ns1:M_ID>)), '\1[FILTERED]\2').
|
110
|
+
gsub(%r((<ns1:M_KEY>).+(</ns1:M_KEY>)), '\1[FILTERED]\2')
|
111
111
|
end
|
112
112
|
|
113
113
|
private
|
@@ -361,11 +361,11 @@ module ActiveMerchant #:nodoc:
|
|
361
361
|
when :store
|
362
362
|
response['Token']
|
363
363
|
else
|
364
|
-
|
365
|
-
|
366
|
-
|
367
|
-
|
368
|
-
|
364
|
+
[ params[:VendorTxCode],
|
365
|
+
response['VPSTxId'] || params[:VPSTxId],
|
366
|
+
response['TxAuthNo'],
|
367
|
+
response['SecurityKey'] || params[:SecurityKey],
|
368
|
+
action ].join(';')
|
369
369
|
end
|
370
370
|
end
|
371
371
|
|
@@ -202,11 +202,11 @@ module ActiveMerchant #:nodoc:
|
|
202
202
|
xml.tag! 'WIRECARD_BXML' do
|
203
203
|
xml.tag! 'W_REQUEST' do
|
204
204
|
xml.tag! 'W_JOB' do
|
205
|
-
|
206
|
-
|
207
|
-
|
208
|
-
|
209
|
-
|
205
|
+
xml.tag! 'JobID', ''
|
206
|
+
# UserID for this transaction
|
207
|
+
xml.tag! 'BusinessCaseSignature', options[:signature] || options[:login]
|
208
|
+
# Create the whole rest of the message
|
209
|
+
add_transaction_data(xml, money, options)
|
210
210
|
end
|
211
211
|
end
|
212
212
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: activemerchant
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.88.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tobias Luetke
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-
|
11
|
+
date: 2018-12-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|
@@ -17,9 +17,6 @@ dependencies:
|
|
17
17
|
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
19
|
version: '4.2'
|
20
|
-
- - "<"
|
21
|
-
- !ruby/object:Gem::Version
|
22
|
-
version: 6.x
|
23
20
|
type: :runtime
|
24
21
|
prerelease: false
|
25
22
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -27,9 +24,6 @@ dependencies:
|
|
27
24
|
- - ">="
|
28
25
|
- !ruby/object:Gem::Version
|
29
26
|
version: '4.2'
|
30
|
-
- - "<"
|
31
|
-
- !ruby/object:Gem::Version
|
32
|
-
version: 6.x
|
33
27
|
- !ruby/object:Gem::Dependency
|
34
28
|
name: i18n
|
35
29
|
requirement: !ruby/object:Gem::Requirement
|