active_merchant-epsilon 0.5.9 → 0.5.10

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: 9f1ff8fd217ea4f0a2571d475bc16d6275cff58a
4
- data.tar.gz: a277b5256584333f5ae80627f9e47dcbfe4f940e
3
+ metadata.gz: df2b77c624147bd89df8345f6f01d51e343160be
4
+ data.tar.gz: 1aa2946d120ab5f49417b1036adedbe95253f275
5
5
  SHA512:
6
- metadata.gz: 4f0a6a972043fb3b8ade693f12d7621c1c47e542c9591d9c1b6b9702e050f30c6cf58f4920db10f7d5b121f4d46ae65ef7cabf0e5479dbf82524cf576af7c7e6
7
- data.tar.gz: c169e5bc408723ea685c37167778f01a8515314288306f0ff55e90607c95120d4710f83f3e3a811c63c18ff92564225b35df4b024aca205702ba85ceb505ac23
6
+ metadata.gz: 431dd84d5015b553318f82b4b2c5da44ed73e232d7aaa616cdc3d03bca59ccca37278fc4d57c99257ff220e94147ca1709f99daeb9f2279bb77721bdcc1b3f5f
7
+ data.tar.gz: 0e4528ee62cd37d34a9e33aa04d893358b17b58c0e3cf964560556e176c62b52a4215b5e42313aab44a34f893f67727ec75ec88893910d7008c65160d0559192
data/CHANGELOG.md CHANGED
@@ -1,5 +1,47 @@
1
1
  # CHANGELOG
2
2
 
3
+ ### 0.5.9
4
+
5
+ * 都度課金、定期課金、コンビニ決済で memo1, memo2 を送信できるようにした #83
6
+ * [イプシロン開発者向け情報:都度課金](http://www.epsilon.jp/developer/each_time.html)
7
+ * [イプシロン開発者向け情報:定期課金](http://www.epsilon.jp/developer/subscription.html)
8
+ * [イプシロン開発者向け情報:コンビニ決済(決済~入金通知)](http://www.epsilon.jp/developer/conv.html)
9
+
10
+ ### 0.5.8
11
+
12
+ * [Add encoding setting](https://github.com/pepabo/active_merchant-epsilon/pull/82)
13
+ * According to the Epsilon specification, the request parameters must be encode in EUC-JP or Shift_JIS. For the specification, this pull request add encoding setting.
14
+
15
+ ### 0.5.7
16
+
17
+ * [Fix response parser method by ku00](https://github.com/pepabo/active_merchant-epsilon/pull/81)
18
+
19
+ ### 0.5.6
20
+
21
+ * [Add company_code to response parameters by ku00 #80](https://github.com/pepabo/active_merchant-epsilon/pull/80)
22
+
23
+ ### 0.5.5
24
+
25
+ * [Should be able to specify response keys by Joe-noh #79](https://github.com/pepabo/active_merchant-epsilon/pull/79)
26
+
27
+ ### 0.5.4
28
+
29
+ * [Add validation of accepting only number to phone_number column by woshidan #76](https://github.com/pepabo/active_merchant-epsilon/pull/76)
30
+
31
+ ### 0.5.3
32
+
33
+ * [Add other convenience store codes by woshidan #75](https://github.com/pepabo/active_merchant-epsilon/pull/75)
34
+
35
+ ### 0.5.2
36
+
37
+ * [モジュール名 Code をつけないと NameError になるので valid_code? の中の定数にモジュール名をつける by woshidan #71](https://github.com/pepabo/active_merchant-epsilon/pull/71)
38
+
39
+ ### 0.5.1
40
+
41
+ * [Add change recurring amount method by kurotaky #66](https://github.com/pepabo/active_merchant-epsilon/pull/66)
42
+ * 月次課金の金額変更をできるようにしました
43
+ * 送信パラメータ、受信パラメータに関しては、GMO イプシロンAPI利用マニュアル Ver.1.2.9 - 取引の金額変更 API を参照して下さい
44
+
3
45
  ### 0.5.0
4
46
 
5
47
  * Separate ConvenienceStorePayment from EpsilonGateway and Create new gateway
@@ -43,11 +43,12 @@ module ActiveMerchant #:nodoc:
43
43
  mission_code: EpsilonMissionCode::PURCHASE,
44
44
  item_price: amount,
45
45
  process_code: 2,
46
- memo1: detail[:memo1],
47
- memo2: detail[:memo2],
48
46
  xml: 1,
49
47
  }
50
48
 
49
+ params[:memo1] = detail[:memo1] if detail.has_key?(:memo1)
50
+ params[:memo2] = detail[:memo2] if detail.has_key?(:memo2)
51
+
51
52
  commit(PATHS[:registered_purchase], params)
52
53
  end
53
54
 
@@ -74,11 +75,12 @@ module ActiveMerchant #:nodoc:
74
75
  mission_code: detail[:mission_code],
75
76
  item_price: amount,
76
77
  process_code: 2,
77
- memo1: detail[:memo1],
78
- memo2: detail[:memo2],
79
78
  xml: 1,
80
79
  }
81
80
 
81
+ params[:memo1] = detail[:memo1] if detail.has_key?(:memo1)
82
+ params[:memo2] = detail[:memo2] if detail.has_key?(:memo2)
83
+
82
84
  commit(PATHS[:registered_recurring], params)
83
85
  end
84
86
 
@@ -175,8 +177,6 @@ module ActiveMerchant #:nodoc:
175
177
  mission_code: detail[:mission_code],
176
178
  item_price: amount,
177
179
  process_code: 1,
178
- memo1: detail[:memo1],
179
- memo2: detail[:memo2],
180
180
  card_number: payment_method.number,
181
181
  expire_y: payment_method.year,
182
182
  expire_m: payment_method.month,
@@ -186,6 +186,9 @@ module ActiveMerchant #:nodoc:
186
186
  user_agent: "#{ActiveMerchant::Epsilon}-#{ActiveMerchant::Epsilon::VERSION}",
187
187
  }
188
188
 
189
+ params[:memo1] = detail[:memo1] if detail.has_key?(:memo1)
190
+ params[:memo2] = detail[:memo2] if detail.has_key?(:memo2)
191
+
189
192
  if payment_method.class.requires_verification_value?
190
193
  params.merge!(
191
194
  security_code: payment_method.verification_value,
@@ -21,14 +21,15 @@ module ActiveMerchant #:nodoc:
21
21
  mission_code: EpsilonMissionCode::PURCHASE,
22
22
  item_price: amount,
23
23
  process_code: 1,
24
- memo1: detail[:memo1],
25
- memo2: detail[:memo2],
26
24
  xml: 1,
27
25
  conveni_code: payment_method.code,
28
26
  user_tel: payment_method.phone_number,
29
27
  user_name_kana: payment_method.name,
30
28
  }
31
29
 
30
+ params[:memo1] = detail[:memo1] if detail.has_key?(:memo1)
31
+ params[:memo2] = detail[:memo2] if detail.has_key?(:memo2)
32
+
32
33
  commit('receive_order3.cgi', params, RESPONSE_KEYS)
33
34
  end
34
35
  end
@@ -1,5 +1,5 @@
1
1
  module ActiveMerchant
2
2
  module Epsilon
3
- VERSION = "0.5.9"
3
+ VERSION = "0.5.10"
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.5.9
4
+ version: 0.5.10
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-12 00:00:00.000000000 Z
11
+ date: 2017-05-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activemerchant