active_merchant-epsilon 0.6.0 → 0.7.0

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: 8eed1cb90e6b8f67d45647da0600e314c970bd68
4
- data.tar.gz: 199a5066b067890df58e81c25604eebb22f83818
3
+ metadata.gz: 6e4f6ea896f7ac2a6d7e8f78187bbf38b8d03aa8
4
+ data.tar.gz: 3b55b9ee29b881156db16a3c509055b18d423c7d
5
5
  SHA512:
6
- metadata.gz: f46112e11eab4ded59ff72bc2b262740c122d49ba3070a64bf60a08ccd546fd395cbe28ae54caf57e4541b3149e70b25e0a57589bf2081bd49683d4d44008798
7
- data.tar.gz: c119bed172a5b3264550ea8a9971d1c9a9d7e79c37c51dc5ad591a8c18fe62923aab63c2eb7fe410d26a762f6de0c095f6ccaec508c1203830aeff4d4b20fa1f
6
+ metadata.gz: ebefda491294d4a5fde7e45aa0ac17384f8fff77a5e5320154663f643b56c1052af63d80eefdd16696a0dcb32cb676fd7127fe173f17b8153491b9db5f1af061
7
+ data.tar.gz: 7b4ecb75faef7822d320579a8f13fbce22c18d3be350ba7bd1c1eaef1c4450a2f71eeedeaf27f8e4d93fc001394075a384e3838ce3d8267e788f361352c20dc5
@@ -43,6 +43,8 @@ module ActiveMerchant #:nodoc:
43
43
  mission_code: EpsilonMissionCode::PURCHASE,
44
44
  item_price: amount,
45
45
  process_code: 2,
46
+ card_st_code: detail[:credit_type],
47
+ pay_time: detail[:payment_time],
46
48
  xml: 1,
47
49
  }
48
50
 
@@ -44,6 +44,7 @@ module ActiveMerchant #:nodoc:
44
44
  :error_detail,
45
45
  :card_number_mask,
46
46
  :card_brand,
47
+ :card_expire,
47
48
  :three_d_secure,
48
49
  :acs_url,
49
50
  :pa_req,
@@ -41,6 +41,10 @@ module ActiveMerchant #:nodoc:
41
41
  uri_decode(@xml.xpath(ResponseXpath::CARD_BRAND).to_s)
42
42
  end
43
43
 
44
+ def card_expire
45
+ uri_decode(@xml.xpath(ResponseXpath::CARD_EXPIRE).to_s)
46
+ end
47
+
44
48
  def three_d_secure
45
49
  @result == ResultCode::THREE_D_SECURE
46
50
  end
@@ -84,6 +88,7 @@ module ActiveMerchant #:nodoc:
84
88
  ERROR_DETAIL = '//Epsilon_result/result[@err_detail]/@err_detail'
85
89
  CARD_NUMBER_MASK = '//Epsilon_result/result[@card_number_mask]/@card_number_mask'
86
90
  CARD_BRAND = '//Epsilon_result/result[@card_brand]/@card_brand'
91
+ CARD_EXPIRE = '//Epsilon_result/result[@card_expire]/@card_expire'
87
92
  ACS_URL = '//Epsilon_result/result[@acsurl]/@acsurl' # ACS (Access Control Server)
88
93
  PA_REQ = '//Epsilon_result/result[@pareq]/@pareq' # PAReq (payer authentication request)
89
94
  RECEIPT_NUMBER = '//Epsilon_result/result[@receipt_no][1]/@receipt_no'
@@ -1,5 +1,5 @@
1
1
  module ActiveMerchant
2
2
  module Epsilon
3
- VERSION = "0.6.0"
3
+ VERSION = "0.7.0"
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.6.0
4
+ version: 0.7.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kenichi TAKAHASHI
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-05-29 00:00:00.000000000 Z
11
+ date: 2017-06-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activemerchant