killbill-orbital 0.1.5 → 0.1.6

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
  SHA1:
3
- metadata.gz: 95cb5eaee2b07c226ee79a12510923e6d5d69b3a
4
- data.tar.gz: 8c45446832d9f613b4804235b5aebe9cf58ea780
3
+ metadata.gz: faea1b24ae53c665ccf86ec64bc7b23802fdc4e4
4
+ data.tar.gz: 12d58ec769ae1519718ba73148c1e9fa465bac6e
5
5
  SHA512:
6
- metadata.gz: 25fea0869b6a7b2dff82564161d1fdbff1848aa00472a7632e9aa6168d720bf749a4c52c979e64d8743329e551bc2b36b3cb986d6e6507f0db2a373282cd25d9
7
- data.tar.gz: 83c9971e31f5010e1e2ef966d256ed4f8cbb81801ae8e96f0e7d72e80016be8fb2d0f897205ae716fe66ca2e300aa230095d203ed338400ec7df351ebc3eced1
6
+ metadata.gz: e80d4983e321a1a0fdf322df3dbe8397a45011d125dd45f2474c660867c06e9beb3e82908b29740049ae94477d2e1d41db9fb5ff7fe497230a290044c3c0476f
7
+ data.tar.gz: e777bd59e2e7b1ff3f1336cc7d276a1d4546ad7010d4bc773bc7440fbe0fb99b16dfe37d45e1bfa5ce2b74819cc34ded546815b97195fceeda8caabcc35a6726
@@ -13,7 +13,7 @@ module ActiveMerchant
13
13
  # Workaround: unmask the PAN if needed
14
14
  # TODO We could call on-the-fly retrieve_customer_profile instead in PaymentPlugin#get_payment_source to
15
15
  # avoid having to store the PAN, but this requires a specific merchant account setting
16
- response.params['cc_account_num'] = creditcard.number if response.params['cc_account_num'].starts_with?('XXXX')
16
+ response.params['cc_account_num'] = creditcard.number if response.params['cc_account_num'].include?('XXXX')
17
17
 
18
18
  response
19
19
  end
@@ -95,6 +95,8 @@ module Killbill #:nodoc:
95
95
  def to_transaction_info_plugin(transaction=nil)
96
96
  t_info_plugin = super(transaction)
97
97
  t_info_plugin.properties << create_plugin_property('processorResponse', params_host_resp_code)
98
+
99
+ t_info_plugin.status = :CANCELED if t_info_plugin.status == :UNDEFINED
98
100
  t_info_plugin
99
101
  end
100
102
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: killbill-orbital
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.5
4
+ version: 0.1.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kill Bill core team
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-05-25 00:00:00.000000000 Z
11
+ date: 2017-08-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  requirement: !ruby/object:Gem::Requirement