offsite_payments 2.6.1 → 2.6.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/offsite_payments/integrations/payu_in.rb +1 -1
- data/lib/offsite_payments/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3b8d4512405d3d3fc5c7b8604888b8a40ee6f0fe
|
4
|
+
data.tar.gz: a622aaa06cb673bcb061c038c0bef9c7480f18b3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 77fd2790f3827e15315dbdd4c9dc63e74b1a0371ebb14290c727add4d20da190f34dae4560090db451f991c86c12772fa4bd2da53d7a87f25d87ad4b71c3f445
|
7
|
+
data.tar.gz: c08bdc48d71f10cf746875b50a25a2c277ab1da4e474c54055ad4e89bfa529abad1a935002d89458151f3df24690e2440211fad3e14c0f56c254b8b8c1b4e8b0
|
@@ -117,7 +117,7 @@ module OffsitePayments #:nodoc:
|
|
117
117
|
|
118
118
|
# Order amount should be equal to gross - discount
|
119
119
|
def amount_ok?( order_amount, order_discount = BigDecimal.new( '0.0' ) )
|
120
|
-
BigDecimal.new( original_gross ) == order_amount &&
|
120
|
+
BigDecimal.new( original_gross ) == order_amount && discount.to_d == order_discount
|
121
121
|
end
|
122
122
|
|
123
123
|
# Status of transaction return from the PayU. List of possible values:
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: offsite_payments
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.6.
|
4
|
+
version: 2.6.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tobias Luetke
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-
|
11
|
+
date: 2017-10-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|
@@ -290,7 +290,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
290
290
|
version: '0'
|
291
291
|
requirements: []
|
292
292
|
rubyforge_project:
|
293
|
-
rubygems_version: 2.5.2
|
293
|
+
rubygems_version: 2.5.2.1
|
294
294
|
signing_key:
|
295
295
|
specification_version: 4
|
296
296
|
summary: Framework and tools for dealing with offsite (hosted) payment pages.
|