activemerchant-flexpay 0.1.0 → 0.9.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: efc9425bc7f5df4e9b319613ddcae599d26092fb7907559586bb1caea2e7ca3b
4
- data.tar.gz: 4839c1c35b69db9e716911fabbf9cfb7f0e4457b271c781b3e55b62e586c9972
3
+ metadata.gz: 3c1fd59ee965107b927a8b4dc23bde928b172dd52b2d866829d920ca1b5af508
4
+ data.tar.gz: ca7876e6ea2082df8969d8b669d710fba8b98305aee1da00c0771f483f6f18dd
5
5
  SHA512:
6
- metadata.gz: 282871f197a5692e75f8017abb4c5083be78bc17e7a259642a359f94875e7196f4c81fc787909cb52abb2a871545143ac59c3a39e84e266cd7209f84543e25f6
7
- data.tar.gz: 2324cc724ea6a4124d3b8bba95e52aeed101886e3ec52a6429900393b7dcd623767ed82d5e328a9fa4b90434dc85b0e4e978666af2c5076142398330c9be3129
6
+ metadata.gz: 529a8303c4e94056262291e814b13463ced99f7dd0fa98c34e2d384300661032c12984ddd94ff236bc18757f6b94623234ed9ea24fe71842a4e925cf6aa826f9
7
+ data.tar.gz: 306e4e57ce813b46dbfe03636d69f8a11cec67f168db458b3a0bbc6fad19b56ae077ea1131d8d9b1fbe82e153dba1505e6b6eb874c54bc55c7fcdea68655793d
@@ -130,6 +130,8 @@ module ActiveMerchant #:nodoc:
130
130
  post[:orderId] = options[:order_id] || post[:merchantTransactionId]
131
131
  post[:amount] = amount(money)
132
132
  post[:currencyCode] = (options[:currency] || currency(money))
133
+ post[:retryCount] = options[:retry_count] || 0
134
+ post[:referenceData] = options[:reference_data] if options[:reference_data]
133
135
  end
134
136
 
135
137
  def add_payment(post, payment)
@@ -141,7 +143,6 @@ module ActiveMerchant #:nodoc:
141
143
  cvv: payment.verification_value,
142
144
  fullName: payment.name
143
145
  }
144
- post[:retryCount] = 0
145
146
  end
146
147
 
147
148
  def headers(api_key)
@@ -1,5 +1,5 @@
1
1
  module ActiveMerchant
2
2
  module FlexPay
3
- VERSION = "0.1.0"
3
+ VERSION = "0.9.0"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: activemerchant-flexpay
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.9.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Piers Chambers
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2019-09-06 00:00:00.000000000 Z
11
+ date: 2019-09-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activemerchant