offsite_payments 2.7.2 → 2.7.3

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 5ed6b8581674acd269ce8a20d2e6cf3a8892d1a6
4
- data.tar.gz: 4099d8201529985ba8519f20f9b9ccceb7e3bd3a
3
+ metadata.gz: c6868f90410159ecc5ee57256207f32210f8be2a
4
+ data.tar.gz: 238cc3e1db58f69bb44c6236fd5b9feb5d8bc692
5
5
  SHA512:
6
- metadata.gz: 4a4675e15c3ef7b80c5cfb42bbfea0cd51d32387af44442e3124791cfe35bdd4d27048a6bb6173c6f111e2bee4a89005de7f59413c0d3d07f586c9e16f33607d
7
- data.tar.gz: 656a0e8045370376d143492622ce9074e1f2f842f976d07fcdfddba35122581109740f7764f1e9eff4d7876738a5bbca1a2ac4f43f841b581c059dddc1428b18
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://www.mobile88.com/epayment/entry.asp"
7
+ "https://payment.ipay88.com.my/epayment/entry.asp"
8
8
  end
9
9
 
10
10
  def self.requery_url
11
- "https://www.mobile88.com/epayment/enquiry.asp"
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
- return test_issuers if options[:credential1].blank?
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['authAmount']
145
+ params['amount']
146
146
  end
147
147
 
148
148
  def currency
149
- params['authCurrency']
149
+ params['currency']
150
150
  end
151
151
 
152
152
  # Was this a test transaction?
@@ -1,3 +1,3 @@
1
1
  module OffsitePayments
2
- VERSION = "2.7.2"
2
+ VERSION = "2.7.3"
3
3
  end
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.2
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-05-08 00:00:00.000000000 Z
11
+ date: 2018-06-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport