active_merchant-epsilon 0.9.0 → 0.9.1

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
- SHA256:
3
- metadata.gz: 9668d6a76c41c51531236786b52d3cacecbc46c95fc6ec6bd9e183b2447d50c0
4
- data.tar.gz: aebd5b08968677868c3e532330d0d892dac75ca8ba61881d4fa090278771e895
2
+ SHA1:
3
+ metadata.gz: 47c8ebb3aaa32f424787d2b5c842250ee06aeb65
4
+ data.tar.gz: 4feb0998d3dc9422908b18c17867e0fbab12f404
5
5
  SHA512:
6
- metadata.gz: 07b7cbbca794528280c570c98aa452cd5eb02853f595393f123e25dd1f09f5ec5bd8e67d78762c13d90eede09b28132d3de0392a07789a7b18845a430d53be2e
7
- data.tar.gz: 6effbf8145aa78bb1eab554700da4dfe4e9a9dca2cf522cf64871533724c112b90ada365c006083eada79dac50e9ee41e0ade11339f023f7cf3433dc2dc2849c
6
+ metadata.gz: c2d4ea004d1f5e2b511c3ac8722389b98f790bc17bd9970a8bdc01724e7ab7323bbfb44ca3f2ae49d2ac2f26f08a25bd5a094bfdad821b78a37cc7dc7532dfe8
7
+ data.tar.gz: 4ac64c7b58f282109c8edcbdb96394926d98947549aa3a333b36cffba8c304d3c32ac72a4b5eb2e9c7348b6056c2eab540c1d08e9eafd2e4a300efcdd7c75b17
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # CHANGELOG
2
2
 
3
+ ### 0.9.1
4
+
5
+ * [Add amount to response parameters when find order](https://github.com/pepabo/active_merchant-epsilon/pull/99)
6
+
3
7
  ### 0.9.0
4
8
 
5
9
  * [Support virtual account payment](https://github.com/pepabo/active_merchant-epsilon/pull/97)
@@ -176,6 +176,7 @@ module ActiveMerchant #:nodoc:
176
176
  :state,
177
177
  :payment_code,
178
178
  :item_price,
179
+ :amount,
179
180
  ]
180
181
 
181
182
  commit(PATHS[:find_order], params, response_keys)
@@ -113,6 +113,10 @@ module ActiveMerchant #:nodoc:
113
113
  @xml.xpath(ResponseXpath::ITEM_PRICE).to_s
114
114
  end
115
115
 
116
+ def amount
117
+ @xml.xpath(ResponseXpath::AMOUNT).to_s
118
+ end
119
+
116
120
  def uri_decode(string)
117
121
  URI.decode(string).encode(Encoding::UTF_8, Encoding::CP932)
118
122
  end
@@ -141,6 +145,7 @@ module ActiveMerchant #:nodoc:
141
145
  STATE = '//Epsilon_result/result[@state]/@state'
142
146
  ITEM_PRICE = '//Epsilon_result/result[@item_price]/@item_price'
143
147
  PAYMENT_CODE = '//Epsilon_result/result[@payment_code]/@payment_code'
148
+ AMOUNT = '//Epsilon_result/result[@amount]/@amount'
144
149
  end
145
150
 
146
151
  module ResultCode
@@ -1,5 +1,5 @@
1
1
  module ActiveMerchant
2
2
  module Epsilon
3
- VERSION = "0.9.0"
3
+ VERSION = "0.9.1"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: active_merchant-epsilon
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.0
4
+ version: 0.9.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kenichi TAKAHASHI
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-07-17 00:00:00.000000000 Z
11
+ date: 2018-07-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activemerchant
@@ -241,7 +241,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
241
241
  version: '0'
242
242
  requirements: []
243
243
  rubyforge_project:
244
- rubygems_version: 2.7.6
244
+ rubygems_version: 2.5.1
245
245
  signing_key:
246
246
  specification_version: 4
247
247
  summary: Epsilon integration for ActiveMerchant.