offsite_payments 2.7.2 → 2.7.3
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c6868f90410159ecc5ee57256207f32210f8be2a
|
4
|
+
data.tar.gz: 238cc3e1db58f69bb44c6236fd5b9feb5d8bc692
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0ca28a713f780ebef3e0647493920b666d12d09b3002b05f464b7fe5d4318a5bc9d26f3ef19ef3207f2c71e6ec1c7b007d9aae79901ad2a45ee33328ce68efae
|
7
|
+
data.tar.gz: c734ff0003ad31e2f079f0ac8c964fc76e3ea225329be4cd546ef2c23988ae7cf71403ef9e5e3adbe171ee29f7a983f97fb93a042c232445c7ae869c3eab3fad
|
@@ -4,11 +4,11 @@ module OffsitePayments #:nodoc:
|
|
4
4
|
CANCELLED_ERROR_DESCRIPTION = 'Customer Cancel Transaction'
|
5
5
|
|
6
6
|
def self.service_url
|
7
|
-
"https://
|
7
|
+
"https://payment.ipay88.com.my/epayment/entry.asp"
|
8
8
|
end
|
9
9
|
|
10
10
|
def self.requery_url
|
11
|
-
"https://
|
11
|
+
"https://payment.ipay88.com.my/epayment/enquiry.asp"
|
12
12
|
end
|
13
13
|
|
14
14
|
def self.return(query_string, options={})
|
@@ -18,18 +18,12 @@ module OffsitePayments #:nodoc:
|
|
18
18
|
["van Lanschot", "ideal_FVLBNL22"]
|
19
19
|
]
|
20
20
|
|
21
|
-
mattr_accessor :test_issuers
|
22
|
-
self.test_issuers = [
|
23
|
-
["TBM Bank", "ideal_TESTNL99"]
|
24
|
-
]
|
25
|
-
|
26
21
|
def self.redirect_param_label
|
27
22
|
"Select your bank"
|
28
23
|
end
|
29
24
|
|
30
25
|
def self.redirect_param_options(options = {})
|
31
|
-
|
32
|
-
options[:credential1].start_with?('live_') ? live_issuers : test_issuers
|
26
|
+
live_issuers
|
33
27
|
end
|
34
28
|
|
35
29
|
def self.retrieve_issuers(token)
|
@@ -142,11 +142,11 @@ module OffsitePayments #:nodoc:
|
|
142
142
|
|
143
143
|
# the money amount we received in X.2 decimal.
|
144
144
|
def gross
|
145
|
-
params['
|
145
|
+
params['amount']
|
146
146
|
end
|
147
147
|
|
148
148
|
def currency
|
149
|
-
params['
|
149
|
+
params['currency']
|
150
150
|
end
|
151
151
|
|
152
152
|
# Was this a test transaction?
|
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.7.
|
4
|
+
version: 2.7.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tobias Luetke
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-
|
11
|
+
date: 2018-06-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|