spree-returnly 0.13.0 → 0.13.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/services/refund_payments.rb +0 -7
- data/lib/returnly/refund_presenter.rb +0 -7
- data/lib/returnly/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a1c1b7e36b99b6f546fd27006870f129217b30d90644a03ce143b6c137e0fba4
|
4
|
+
data.tar.gz: 4faf0637030be2940004a35ed4665f2543690f97c7970195d61a7c336454dca5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5c806d3f2b02a211e37fa502b9e6586d0d0556bb5caf1014a6665aea8cee0d2b1ab4e091e812c1b8fe6f415e94c7f1b2ba8681feb3aaf6ece9ea62bbd7f90b3b
|
7
|
+
data.tar.gz: 225785b8d814aef2b28dbc3a911eef6465430c2fa9a20df07121a15a27225d8e4813384e8eadb270e9aee3b651c8bd62ec4e2540627ffb37dc23f5294f5fedc1
|
@@ -44,13 +44,6 @@ class RefundPayments
|
|
44
44
|
details[:avs_result_code] = payment.avs_response if payment.avs_response.present?
|
45
45
|
details[:cvv_result_code] = payment.cvv_response_code if payment.cvv_response_code.present?
|
46
46
|
|
47
|
-
source = payment.source
|
48
|
-
|
49
|
-
if source.respond_to?(:number) || source.respond_to?(:last_digits)
|
50
|
-
details[:credit_card_number] = source.number || source.last_digits if source.number.present? || source.last_digits.present?
|
51
|
-
details[:credit_card_company] = source.brand if source.brand.present?
|
52
|
-
end
|
53
|
-
|
54
47
|
details[:gift_card_id] = @gift_card.id if @gift_card.id.present?
|
55
48
|
details[:gift_card_code] = @gift_card.code if @gift_card.code.present?
|
56
49
|
|
@@ -94,13 +94,6 @@ module Returnly
|
|
94
94
|
details[:avs_result_code] = payment.avs_response if payment.avs_response.present?
|
95
95
|
details[:cvv_result_code] = payment.cvv_response_code if payment.cvv_response_code.present?
|
96
96
|
|
97
|
-
source = payment.source
|
98
|
-
|
99
|
-
if source.respond_to?(:number) || source.respond_to?(:last_digits)
|
100
|
-
details[:credit_card_number] = source.number || source.last_digits if source.number.present? || source.last_digits.present?
|
101
|
-
details[:credit_card_company] = source.brand if source.brand.present?
|
102
|
-
end
|
103
|
-
|
104
97
|
details[:gift_card_id] = gift_card.id if gift_card.id.present?
|
105
98
|
details[:gift_card_code] = gift_card.code if gift_card.code.present?
|
106
99
|
|
data/lib/returnly/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: spree-returnly
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.13.
|
4
|
+
version: 0.13.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Returnly Technologies, Inc
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-05-
|
11
|
+
date: 2019-05-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: spree
|