active_merchant_pay2go 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: a82975572be69d4045c053e97c27c618852597cf
4
+ data.tar.gz: a123f3fbc7b7d1c6ac02921f8c570cd32efea8d6
5
+ SHA512:
6
+ metadata.gz: ec013c3fcb95a5398c2bd1b76bdeefe996f68d841da4c0b62a6c9715d8b2085a2db9520ff8b35d960ac024c77dd0b1a8bb0092ec3833be3493459a780304cd51
7
+ data.tar.gz: e14e68e9f949571330768b7c17acc48af8dc8483cbb90f544836732d7c8f3b636958c0f25088ab7635c243e521c3f62aa837806419489b15976cba2a723d8a6d
data/.gitignore ADDED
@@ -0,0 +1,10 @@
1
+ /.bundle/
2
+ /.yardoc
3
+ /Gemfile.lock
4
+ /_yardoc/
5
+ /coverage/
6
+ /doc/
7
+ /pkg/
8
+ /spec/reports/
9
+ /tmp/
10
+ *.gem
data/.travis.yml ADDED
@@ -0,0 +1,4 @@
1
+ language: ruby
2
+ rvm:
3
+ - 2.2.3
4
+ before_install: gem install bundler -v 1.10.6
@@ -0,0 +1,13 @@
1
+ # Contributor Code of Conduct
2
+
3
+ As contributors and maintainers of this project, we pledge to respect all people who contribute through reporting issues, posting feature requests, updating documentation, submitting pull requests or patches, and other activities.
4
+
5
+ We are committed to making participation in this project a harassment-free experience for everyone, regardless of level of experience, gender, gender identity and expression, sexual orientation, disability, personal appearance, body size, race, ethnicity, age, or religion.
6
+
7
+ Examples of unacceptable behavior by participants include the use of sexual language or imagery, derogatory comments or personal attacks, trolling, public or private harassment, insults, or other unprofessional conduct.
8
+
9
+ Project maintainers have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct. Project maintainers who do not follow the Code of Conduct may be removed from the project team.
10
+
11
+ Instances of abusive, harassing, or otherwise unacceptable behavior may be reported by opening an issue or contacting one or more of the project maintainers.
12
+
13
+ This Code of Conduct is adapted from the [Contributor Covenant](http://contributor-covenant.org), version 1.0.0, available at [http://contributor-covenant.org/version/1/0/0/](http://contributor-covenant.org/version/1/0/0/)
data/Gemfile ADDED
@@ -0,0 +1,4 @@
1
+ source 'https://rubygems.org'
2
+
3
+ # Specify your gem's dependencies in active_merchant_pay2go.gemspec
4
+ gemspec
data/LICENSE.txt ADDED
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2015 Gary
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in
13
+ all copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21
+ THE SOFTWARE.
data/README.md ADDED
@@ -0,0 +1,82 @@
1
+ # ActiveMerchantPay2go
2
+
3
+ This gem integrate Rails with [pay2go(智付寶)](https://www.pay2go.com/).
4
+
5
+ It was inspired by [active_merchant_allpay](https://github.com/xwaynec/active_merchant_allpay).
6
+
7
+ *WARNING:* This gem is not fully tested.
8
+
9
+ ## Installation
10
+
11
+ Add this line to your application's Gemfile:
12
+
13
+ ```ruby
14
+ gem 'active_merchant_pay2go'
15
+ ```
16
+
17
+ And then execute:
18
+
19
+ ```
20
+ $ bundle
21
+ ```
22
+
23
+ ## Setup
24
+
25
+ 1. I would suggest reading the [official API](https://www.pay2go.com/dw_files/info_api/pay2go_gateway_MPGapi_V1_1_4.pdf) first.
26
+
27
+ 2. Create file `config/initializers/allpay.rb`
28
+
29
+ ``` rb
30
+ OffsitePayments::Integrations::Pay2go.setup do |pay2go|
31
+ # You have to apply credential below by yourself.
32
+ pay2go.merchant_id = 'xxx'
33
+ pay2go.hash_key = 'xxx'
34
+ pay2go.hash_iv = 'xxx'
35
+ end
36
+ ```
37
+
38
+ 3. Environment configuration:
39
+
40
+ ```rb
41
+ # config/environments/development.rb
42
+ config.after_initialize do
43
+ ActiveMerchant::Billing::Base.integration_mode = :development
44
+ end
45
+ ```
46
+
47
+ ```rb
48
+ # config/environments/production.rb
49
+ config.after_initialize do
50
+ ActiveMerchant::Billing::Base.integration_mode = :production
51
+ end
52
+ ```
53
+
54
+ ## Example
55
+
56
+ ```rb
57
+ <% payment_service_for @order,
58
+ @order.user.email,
59
+ service: :pay2go,
60
+ html: { :id => 'pay2go-form', :method => :post } do |service| %>
61
+ <% service.encrypted_data %>
62
+ <% service.time_stamp @order.created_at %>
63
+ <% service.merchant_order_no @order.id %>
64
+ <% service.amt @order.total_amount.to_i %>
65
+ <% service.item_desc @order.description %>
66
+ <% service.email @order.user.email %>
67
+ <% service.login_type 0 %>
68
+ <%= submit_tag '付款' %>
69
+ <% end %>
70
+ ```
71
+
72
+ To customize settings, you can read the documents.
73
+ Or you can read [code](https://github.com/imgarylai/active_merchant_pay2go/blob/master/lib/offsite_payments/integrations/pay2go.rb#L47-L99) here!
74
+
75
+ ## Contributing
76
+
77
+ Bug reports and pull requests are welcome on GitHub at https://github.com/imgarylai/active_merchant_pay2go. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](contributor-covenant.org) code of conduct.
78
+
79
+
80
+ ## License
81
+
82
+ The gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).
data/Rakefile ADDED
@@ -0,0 +1,19 @@
1
+ require "bundler/gem_tasks"
2
+
3
+ require 'rake/testtask'
4
+
5
+ desc "Run the unit test suite"
6
+ task :default => 'test:units'
7
+
8
+ task :test => 'test:units'
9
+
10
+ namespace :test do
11
+
12
+ Rake::TestTask.new(:units) do |t|
13
+ t.pattern = 'test/unit/**/*_test.rb'
14
+ t.ruby_opts << '-rubygems'
15
+ t.libs << 'test'
16
+ t.verbose = true
17
+ end
18
+
19
+ end
@@ -0,0 +1,30 @@
1
+ # coding: utf-8
2
+ lib = File.expand_path('../lib', __FILE__)
3
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
+ require 'active_merchant_pay2go/version'
5
+
6
+ Gem::Specification.new do |spec|
7
+ spec.name = "active_merchant_pay2go"
8
+ spec.version = ActiveMerchantPay2go::VERSION
9
+ spec.authors = ["Gary"]
10
+ spec.email = ["garylai1990@gmail.com"]
11
+
12
+ spec.summary = %q{pay2go(智付寶) gem}
13
+ spec.description = %q{This gem integrate Rails with pay2go(智付寶).}
14
+ spec.homepage = "https://github.com/imgarylai/active_merchant_pay2go"
15
+ spec.license = "MIT"
16
+
17
+ spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
18
+ spec.bindir = "exe"
19
+ spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
20
+ spec.require_paths = ["lib"]
21
+
22
+ spec.add_runtime_dependency 'activemerchant'
23
+ spec.add_runtime_dependency 'offsite_payments'
24
+
25
+ spec.add_development_dependency "bundler", "~> 1.10"
26
+ spec.add_development_dependency "rake", "~> 10.0"
27
+ spec.add_development_dependency 'mocha', '~> 0.13.0'
28
+ spec.add_development_dependency 'test-unit', '~> 2.5'
29
+ spec.add_development_dependency 'thor', '~> 0'
30
+ end
data/bin/console ADDED
@@ -0,0 +1,14 @@
1
+ #!/usr/bin/env ruby
2
+
3
+ require "bundler/setup"
4
+ require "active_merchant_pay2go"
5
+
6
+ # You can add fixtures and/or initialization code here to make experimenting
7
+ # with your gem easier. You can also use a different console, if you like.
8
+
9
+ # (If you use this, don't forget to add pry to your Gemfile!)
10
+ # require "pry"
11
+ # Pry.start
12
+
13
+ require "irb"
14
+ IRB.start
data/bin/setup ADDED
@@ -0,0 +1,7 @@
1
+ #!/bin/bash
2
+ set -euo pipefail
3
+ IFS=$'\n\t'
4
+
5
+ bundle install
6
+
7
+ # Do any other automated setup that you need to do here
@@ -0,0 +1,12 @@
1
+ require 'action_view'
2
+ require 'active_merchant_pay2go/version'
3
+ require 'active_merchant'
4
+ require 'offsite_payments'
5
+
6
+ module OffsitePayments
7
+ module Integrations
8
+ autoload :Pay2go, 'offsite_payments/integrations/pay2go'
9
+ end
10
+ end
11
+
12
+ ActionView::Base.send(:include, OffsitePayments::ActionViewHelper)
@@ -0,0 +1,3 @@
1
+ module ActiveMerchantPay2go
2
+ VERSION = "0.1.0"
3
+ end
@@ -0,0 +1,304 @@
1
+ # encoding: utf-8
2
+ require 'digest'
3
+
4
+ module OffsitePayments #:nodoc:
5
+ module Integrations #:nodoc:
6
+ module Pay2go
7
+
8
+ VERSION = '1.2'
9
+ RESPOND_TYPE = 'String'
10
+ CHECK_VALUE_FIELDS = [
11
+ 'Amt',
12
+ 'MerchantID',
13
+ 'MerchantOrderNo',
14
+ 'TimeStamp',
15
+ 'Version'
16
+ ]
17
+
18
+ CHECK_CODE_FIELDS = [
19
+ 'Amt',
20
+ 'MerchantID',
21
+ 'MerchantOrderNo',
22
+ 'TradeNo'
23
+ ]
24
+
25
+ mattr_accessor :service_url
26
+ mattr_accessor :merchant_id
27
+ mattr_accessor :hash_key
28
+ mattr_accessor :hash_iv
29
+ mattr_accessor :debug
30
+
31
+ def self.service_url
32
+ mode = ActiveMerchant::Billing::Base.mode
33
+ case mode
34
+ when :production
35
+ 'https://api.pay2go.com/MPG/mpg_gateway'
36
+ when :development
37
+ 'https://capi.pay2go.com/MPG/mpg_gateway'
38
+ when :test
39
+ 'https://capi.pay2go.com/MPG/mpg_gateway'
40
+ else
41
+ raise StandardError, "Integration mode set to an invalid value: #{mode}"
42
+ end
43
+ end
44
+
45
+ def self.notification(post)
46
+ Notification.new(post)
47
+ end
48
+
49
+ def self.setup
50
+ yield(self)
51
+ end
52
+
53
+ class Helper < OffsitePayments::Helper
54
+ # 商店代號 *
55
+ mapping :merchant_id, 'MerchantID'
56
+ mapping :account, 'MerchantID' # AM common
57
+ # 語系
58
+ mapping :lang_type, 'LangType'
59
+ # 廠商交易編號 *
60
+ mapping :merchant_order_no, 'MerchantOrderNo'
61
+ mapping :order, 'MerchantOrderNo' # AM common
62
+ # 交易金額
63
+ mapping :amt, 'Amt'
64
+ mapping :amount, 'Amt' # AM common
65
+ # 商品資訊 *
66
+ mapping :item_desc, 'ItemDesc'
67
+ # 交易限制秒數
68
+ mapping :trade_limit, 'TradeLimit'
69
+ # 繳費有效期限(適用於非即時交易))
70
+ mapping :expire_date, 'ExpireDate'
71
+ # 支付完成返回商店網址
72
+ mapping :return_url, 'ReturnURL'
73
+ # 支付通知網址
74
+ mapping :notify_url, 'NotifyURL'
75
+ # CustomerURL
76
+ mapping :customer_url, 'CustomerURL'
77
+ # Client 端返回廠商網址
78
+ mapping :client_back_url, 'ClientBackURL'
79
+ # 付款人電子信箱 *
80
+ mapping :email, 'Email'
81
+ # 付款人電子信箱是否開放修改
82
+ mapping :email_modify, 'EmailModify'
83
+ # 智付寶會員 *
84
+ mapping :login_type, 'LoginType'
85
+ # 商店備註
86
+ mapping :order_comment, 'OrderComment'
87
+ # 信用卡一次付清啟用
88
+ mapping :credit ,'CREDIT'
89
+ # 信用卡紅利啟用
90
+ mapping :credit_red, 'CreditRed'
91
+ # 信用卡分期付款啟用
92
+ mapping :inst_flag ,'InstFlag'
93
+ # 信用卡銀聯卡啟用
94
+ mapping :unionpay ,'UNIONPAY'
95
+ # WEBATM 啟用
96
+ mapping :webatm, 'WEBATM'
97
+ # ATM 轉帳啟用
98
+ mapping :vacc, 'VACC'
99
+ # 超商代碼繳費啟用
100
+ mapping :cvs, 'CVS'
101
+ # 條碼繳費啟用
102
+ mapping :barcode, 'BARCODE'
103
+ # 自訂支付啟用
104
+ mapping :custom, 'CUSTOM'
105
+ # 快速結帳 *
106
+ mapping :token_term, 'TokenTerm'
107
+
108
+ def initialize(order, account, options = {})
109
+ super
110
+ add_field 'MerchantID', OffsitePayments::Integrations::Pay2go.merchant_id
111
+ add_field 'Version', OffsitePayments::Integrations::Pay2go::VERSION
112
+ add_field 'RespondType', OffsitePayments::Integrations::Pay2go::RESPOND_TYPE
113
+ end
114
+
115
+ def time_stamp(date)
116
+ add_field 'TimeStamp', date.to_time.to_i
117
+ end
118
+
119
+ def encrypted_data
120
+ raw_data = OffsitePayments::Integrations::Pay2go::CHECK_VALUE_FIELDS.sort.map { |field|
121
+ "#{field}=#{@fields[field]}"
122
+ }.join('&')
123
+
124
+ hash_raw_data = "HashKey=#{OffsitePayments::Integrations::Pay2go.hash_key}&#{raw_data}&HashIV=#{OffsitePayments::Integrations::Pay2go.hash_iv}"
125
+
126
+ binding.pry if OffsitePayments::Integrations::Pay2go.debug
127
+
128
+ add_field 'CheckValue', Digest::SHA256.hexdigest(hash_raw_data).upcase
129
+ end
130
+
131
+ end
132
+
133
+ class Notification < OffsitePayments::Notification
134
+
135
+ def success?
136
+ @params['Status'] == 'SUCCESS' ? true : false
137
+ end
138
+
139
+ # TODO 使用查詢功能實作 acknowledge
140
+ # Pay2go 沒有遠端驗證功能,
141
+ # 而以 checksum_ok? 代替
142
+ def acknowledge
143
+ checksum_ok?
144
+ end
145
+
146
+ def complete?
147
+ case @params['Status']
148
+ when 'SUCCESS'
149
+ true
150
+ when 'CUSTOM'
151
+ true
152
+ else
153
+ false
154
+ end
155
+ end
156
+
157
+ def checksum_ok?
158
+ params_copy = @params.clone
159
+
160
+ checksum = params_copy['CheckCode']
161
+
162
+ raw_data = OffsitePayments::Integrations::Pay2go::CHECK_CODE_FIELDS.sort.map { |field|
163
+ "#{field}=#{params_copy[field]}"
164
+ }.join('&')
165
+
166
+ hash_raw_data = "HashIV=#{OffsitePayments::Integrations::Pay2go.hash_iv}&#{raw_data}&HashKey=#{OffsitePayments::Integrations::Pay2go.hash_key}"
167
+
168
+ Digest::SHA256.hexdigest(hash_raw_data).upcase == checksum
169
+ end
170
+
171
+ def status
172
+ @params['Status']
173
+ end
174
+
175
+ def message
176
+ @params['Message']
177
+ end
178
+
179
+ def merchant_id
180
+ @params['MerchantID']
181
+ end
182
+
183
+ def amt
184
+ @params['Amt']
185
+ end
186
+
187
+ def trade_no
188
+ @params['TradeNo']
189
+ end
190
+
191
+ def merchant_order_no
192
+ @params['MerchantOrderNo']
193
+ end
194
+
195
+ def payment_type
196
+ @params['PaymentType']
197
+ end
198
+
199
+ def respond_type
200
+ @params['RespondType']
201
+ end
202
+
203
+ def check_code
204
+ @params['CheckCode']
205
+ end
206
+
207
+ # 所有支付方式共同回傳參數
208
+
209
+ def pay_time
210
+ @params['PayTime']
211
+ end
212
+
213
+ def ip
214
+ @params['IP']
215
+ end
216
+
217
+ def escrow_bank
218
+ @params['EscrowBank']
219
+ end
220
+
221
+ def token_use_status
222
+ @params['TokenUseStatus']
223
+ end
224
+
225
+ # 信用卡支付回傳參數
226
+
227
+ def respond_code
228
+ @params['RespondCode']
229
+ end
230
+
231
+ def auth
232
+ @params['Auth']
233
+ end
234
+
235
+ def card_6_no
236
+ @params['Card6No']
237
+ end
238
+
239
+ def card_4_no
240
+ @params['Card4No']
241
+ end
242
+
243
+ def inst
244
+ @params['Inst']
245
+ end
246
+
247
+ def inst_first
248
+ @params['InstFirst']
249
+ end
250
+
251
+ def inst_each
252
+ @params['InstEach']
253
+ end
254
+
255
+ def eci
256
+ @params['ECI']
257
+ end
258
+
259
+ # WEBATM、ATM 繳費回傳參數
260
+
261
+ def pay_bank_code
262
+ @params['PayBankCode']
263
+ end
264
+
265
+ def payer_account_5_code
266
+ @params['PayerAccount5Code']
267
+ end
268
+
269
+ # 超商代碼繳費回傳參數
270
+
271
+ def code_no
272
+ @params['CodeNo']
273
+ end
274
+
275
+ # ATM 轉帳回傳參數
276
+ def bank_code
277
+ @params['BankCode']
278
+ end
279
+
280
+
281
+ # 條碼繳費回傳參數
282
+
283
+ def barcode_1
284
+ @params['Barcode_1']
285
+ end
286
+
287
+ def barcode_2
288
+ @params['Barcode_2']
289
+ end
290
+
291
+ def barcode_3
292
+ @params['Barcode_3']
293
+ end
294
+
295
+ # 取號完成系統回傳參數
296
+
297
+ def expire_date
298
+ @params['ExpireDate']
299
+ end
300
+
301
+ end
302
+ end
303
+ end
304
+ end
metadata ADDED
@@ -0,0 +1,155 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: active_merchant_pay2go
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.0
5
+ platform: ruby
6
+ authors:
7
+ - Gary
8
+ autorequire:
9
+ bindir: exe
10
+ cert_chain: []
11
+ date: 2015-11-28 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: activemerchant
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - ">="
18
+ - !ruby/object:Gem::Version
19
+ version: '0'
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - ">="
25
+ - !ruby/object:Gem::Version
26
+ version: '0'
27
+ - !ruby/object:Gem::Dependency
28
+ name: offsite_payments
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - ">="
32
+ - !ruby/object:Gem::Version
33
+ version: '0'
34
+ type: :runtime
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - ">="
39
+ - !ruby/object:Gem::Version
40
+ version: '0'
41
+ - !ruby/object:Gem::Dependency
42
+ name: bundler
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - "~>"
46
+ - !ruby/object:Gem::Version
47
+ version: '1.10'
48
+ type: :development
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - "~>"
53
+ - !ruby/object:Gem::Version
54
+ version: '1.10'
55
+ - !ruby/object:Gem::Dependency
56
+ name: rake
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - "~>"
60
+ - !ruby/object:Gem::Version
61
+ version: '10.0'
62
+ type: :development
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - "~>"
67
+ - !ruby/object:Gem::Version
68
+ version: '10.0'
69
+ - !ruby/object:Gem::Dependency
70
+ name: mocha
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - "~>"
74
+ - !ruby/object:Gem::Version
75
+ version: 0.13.0
76
+ type: :development
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - "~>"
81
+ - !ruby/object:Gem::Version
82
+ version: 0.13.0
83
+ - !ruby/object:Gem::Dependency
84
+ name: test-unit
85
+ requirement: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - "~>"
88
+ - !ruby/object:Gem::Version
89
+ version: '2.5'
90
+ type: :development
91
+ prerelease: false
92
+ version_requirements: !ruby/object:Gem::Requirement
93
+ requirements:
94
+ - - "~>"
95
+ - !ruby/object:Gem::Version
96
+ version: '2.5'
97
+ - !ruby/object:Gem::Dependency
98
+ name: thor
99
+ requirement: !ruby/object:Gem::Requirement
100
+ requirements:
101
+ - - "~>"
102
+ - !ruby/object:Gem::Version
103
+ version: '0'
104
+ type: :development
105
+ prerelease: false
106
+ version_requirements: !ruby/object:Gem::Requirement
107
+ requirements:
108
+ - - "~>"
109
+ - !ruby/object:Gem::Version
110
+ version: '0'
111
+ description: This gem integrate Rails with pay2go(智付寶).
112
+ email:
113
+ - garylai1990@gmail.com
114
+ executables: []
115
+ extensions: []
116
+ extra_rdoc_files: []
117
+ files:
118
+ - ".gitignore"
119
+ - ".travis.yml"
120
+ - CODE_OF_CONDUCT.md
121
+ - Gemfile
122
+ - LICENSE.txt
123
+ - README.md
124
+ - Rakefile
125
+ - active_merchant_pay2go.gemspec
126
+ - bin/console
127
+ - bin/setup
128
+ - lib/active_merchant_pay2go.rb
129
+ - lib/active_merchant_pay2go/version.rb
130
+ - lib/offsite_payments/integrations/pay2go.rb
131
+ homepage: https://github.com/imgarylai/active_merchant_pay2go
132
+ licenses:
133
+ - MIT
134
+ metadata: {}
135
+ post_install_message:
136
+ rdoc_options: []
137
+ require_paths:
138
+ - lib
139
+ required_ruby_version: !ruby/object:Gem::Requirement
140
+ requirements:
141
+ - - ">="
142
+ - !ruby/object:Gem::Version
143
+ version: '0'
144
+ required_rubygems_version: !ruby/object:Gem::Requirement
145
+ requirements:
146
+ - - ">="
147
+ - !ruby/object:Gem::Version
148
+ version: '0'
149
+ requirements: []
150
+ rubyforge_project:
151
+ rubygems_version: 2.4.5.1
152
+ signing_key:
153
+ specification_version: 4
154
+ summary: pay2go(智付寶) gem
155
+ test_files: []