offsite_payments 2.7.18 → 2.7.19
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/offsite_payments/integrations/bit_pay.rb +3 -7
- data/lib/offsite_payments/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 51cf90edf6cc8aee813514a8c228ede8e2b7b816fbc16c626453f1329b65bdc3
|
|
4
|
+
data.tar.gz: e31d47d8ba5e038c9f8b4d4d6212c51f417347bf63344fb54cdc7c57c4e42c78
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 1b9eb62afb3ba07284b3d6017b9f70f561c1e98470b95b718514c4b0d85e76655398e6222a14547c5eae77904f523142a857877e0f8fee44209143ef8151a76f
|
|
7
|
+
data.tar.gz: 1a08cdad7a12d4e4957059f601a96d0e6bff0c1a3d6a72bd4c9625efa1be4087f40e185ce159a2b60599e5c55f1ca5e8b065306c6c11799e98aeedca32c9e0be
|
|
@@ -149,11 +149,11 @@ module OffsitePayments #:nodoc:
|
|
|
149
149
|
request = Net::HTTP::Get.new(uri.path)
|
|
150
150
|
response = http.request(request)
|
|
151
151
|
|
|
152
|
-
|
|
152
|
+
received_attributes = [transaction_id, status]
|
|
153
|
+
|
|
153
154
|
parse(response.body)
|
|
154
|
-
retrieved_json = comparable_data
|
|
155
155
|
|
|
156
|
-
|
|
156
|
+
received_attributes == [transaction_id, status]
|
|
157
157
|
end
|
|
158
158
|
|
|
159
159
|
private
|
|
@@ -163,10 +163,6 @@ module OffsitePayments #:nodoc:
|
|
|
163
163
|
|
|
164
164
|
@params = json.key?('data') ? json['data'] : json
|
|
165
165
|
end
|
|
166
|
-
|
|
167
|
-
def comparable_data
|
|
168
|
-
@params&.reject { |k, _v| k == 'currentTime' }
|
|
169
|
-
end
|
|
170
166
|
end
|
|
171
167
|
|
|
172
168
|
class Return < OffsitePayments::Return
|