killbill-orbital 0.1.13 → 0.1.14
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/orbital/api.rb +3 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 6826e979cc8f453a11b401239449d0c16d94274b
|
|
4
|
+
data.tar.gz: 141b936ce2db1f420e34308a4c21d352838b1054
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 0ffbc8faaed4ec141e3a2e588a42f7efd3a23ed5c10c6a0e6dd4ab651afd177048f090fd32e4a199b94c397cf4c37ec874ab6f1d46d433fb55eec0224e8e99f8
|
|
7
|
+
data.tar.gz: 8eacf5883acc7c3d039f1535e047fe47c6b8d1e71af74b2a1f2c92930db82fb9bc5f61e0aca2cfb5d9881de8bd6a1580e52913958cb44faafe218930d18aa27b
|
data/lib/orbital/api.rb
CHANGED
|
@@ -195,6 +195,8 @@ module Killbill #:nodoc:
|
|
|
195
195
|
@logger.info("Canceling UNDEFINED kb_transaction_id='#{plugin_trx_info.kb_transaction_payment_id}'")
|
|
196
196
|
response.cancel
|
|
197
197
|
updated = true
|
|
198
|
+
else
|
|
199
|
+
@logger.info("Attempted to fix UNDEFINED kb_transaction_id='#{plugin_trx_info.kb_transaction_payment_id}' but unsuccessful")
|
|
198
200
|
end
|
|
199
201
|
updated
|
|
200
202
|
end
|
|
@@ -228,7 +230,7 @@ module Killbill #:nodoc:
|
|
|
228
230
|
|
|
229
231
|
def retry_capture(plugin_trx_info, order_id, trace_number, context, gateway)
|
|
230
232
|
options = {:trace_number => trace_number, :order_id => order_id}
|
|
231
|
-
kb_payment = @kb_apis.payment_api.get_payment(plugin_trx_info.kb_payment_id, false, false, [],
|
|
233
|
+
kb_payment = @kb_apis.payment_api.get_payment(plugin_trx_info.kb_payment_id, false, false, [], context)
|
|
232
234
|
kb_transaction = kb_payment.transactions.detect {|trx| trx.id == plugin_trx_info.kb_transaction_payment_id}
|
|
233
235
|
linked_trx = @transaction_model.authorizations_from_kb_payment_id(plugin_trx_info.kb_payment_id, context.tenant_id).last
|
|
234
236
|
|
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.
|
|
4
|
+
version: 0.1.14
|
|
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: 2018-
|
|
11
|
+
date: 2018-11-19 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
requirement: !ruby/object:Gem::Requirement
|