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.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/orbital/api.rb +1 -0
  3. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: cec1cf6adeb886d2e658647977c87cc258505954
4
- data.tar.gz: a0f94ccdb83a09e44bafd3546f0c19aed32a256f
3
+ metadata.gz: 0246e52421f678aac05af018f70157971f62ffb3
4
+ data.tar.gz: f1fb2cc211ffc46616195db66253f54aedd12537
5
5
  SHA512:
6
- metadata.gz: 36f2b52df194d8469e5c4957b2bded12f6d4d8a5dd7c67d3fe8d7ef03452163d8b4bd78a2bc6945381ce1211fa45f8f3bbe50366bee739a04d14b649dbef6448
7
- data.tar.gz: 19170d1876ada2aa6d01ac59cf19682329bf1860518d4f4048625864856b32ec9a32318adb4dcf8b6fec8b5b2607309839f850c42fb33d867e147f6555eb2360
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.9
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-03-27 00:00:00.000000000 Z
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