killbill-orbital 0.1.9 → 0.1.10
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/orbital/api.rb +1 -0
- 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: 0246e52421f678aac05af018f70157971f62ffb3
|
4
|
+
data.tar.gz: f1fb2cc211ffc46616195db66253f54aedd12537
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: af6ed6a3c6b85f773c762d96912ff56cf838441fd71cea1591c1631821117e22b50ff92f83f3ef3ccb3829595784d31d3e2877cffeff7ef11ddff7a1b0c674f4
|
7
|
+
data.tar.gz: 6185071f0ec0c15aabf4d508c89d78b87b7e014182daaec8fb4a95300daeac9d3b709b05bef4c80ec1fbb97df58abb5d38230e5480b0ef89258b2f3610a05c37
|
data/lib/orbital/api.rb
CHANGED
@@ -43,6 +43,7 @@ module Killbill #:nodoc:
|
|
43
43
|
raise "Unable to retrieve last authorization for operation=capture, kb_payment_id=#{kb_payment_id}, kb_payment_transaction_id=#{kb_payment_transaction_id}, kb_payment_method_id=#{kb_payment_method_id}" if last_auth_response.nil?
|
44
44
|
options[:payment_processor_account_id] = last_auth_response.payment_processor_account_id
|
45
45
|
options[:prior_auth_id] = last_auth_response.params_auth_code
|
46
|
+
options[:order_id] = last_auth_response.second_reference_id if options[:order_id].nil?
|
46
47
|
purchase_payment(kb_account_id, kb_payment_id, kb_payment_transaction_id, kb_payment_method_id, amount, currency, hash_to_properties(options), context)
|
47
48
|
else
|
48
49
|
super(kb_account_id, kb_payment_id, kb_payment_transaction_id, kb_payment_method_id, amount, currency, properties, context, with_trace_num_and_order_id(properties))
|
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.10
|
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-05-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
requirement: !ruby/object:Gem::Requirement
|