paygate-ruby 0.1.8 → 0.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +53 -38
- data/LICENSE.txt +21 -21
- data/README.md +327 -343
- data/Rakefile +3 -2
- data/data/cdbn.20230401.unl.xlsx +0 -0
- data/data/config.yml +3347 -2744
- data/lib/paygate/action_view/form_helper.rb +159 -0
- data/lib/paygate/aes.rb +152 -150
- data/lib/paygate/aes_ctr.rb +136 -133
- data/lib/paygate/configuration.rb +20 -16
- data/lib/paygate/member.rb +24 -21
- data/lib/paygate/profile.rb +33 -30
- data/lib/paygate/response.rb +27 -25
- data/lib/paygate/transaction.rb +60 -58
- data/lib/paygate/version.rb +5 -3
- data/lib/paygate-ruby.rb +3 -48
- data/lib/paygate.rb +43 -0
- data/vendor/assets/javascripts/paygate.js +86 -86
- metadata +17 -49
- data/.gitignore +0 -9
- data/CODE_OF_CONDUCT.md +0 -74
- data/Gemfile +0 -4
- data/bin/console +0 -14
- data/bin/setup +0 -8
- data/data/card_bin_20191001.xlsx +0 -0
- data/lib/paygate/helpers/form_helper.rb +0 -155
- data/paygate-ruby.gemspec +0 -24
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: cc96b203160cf2fa57d2b27b19085ee0cdff34baea3590fb964fd41b7c5e31fb
|
4
|
+
data.tar.gz: aa26d42416921f5c5f8b4d33b5d83cd35ce214b6517e94cdecc9fc6134dc2198
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 39d8a1447e89945d39f9fc29061ef59f96fcb75e057e43a21b475365336978f3e18b5a684991592c1b251f21122b4274c2a79fff7cb6dc29e5edf0350cf21702
|
7
|
+
data.tar.gz: 167b0dde36de872c6f8608333194c108f3753d48aade42af1415f25087894bc05ddd7983386ac80efcd5befd3ad1cb0055032f724618ddb01a9a4a41b6f89b00
|
data/CHANGELOG.md
CHANGED
@@ -1,38 +1,53 @@
|
|
1
|
-
# CHANGELOG
|
2
|
-
|
3
|
-
## Next
|
4
|
-
|
5
|
-
## 0.
|
6
|
-
|
7
|
-
- [PR#
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
- [PR#
|
12
|
-
|
13
|
-
## 0.1.
|
14
|
-
|
15
|
-
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
-
|
1
|
+
# CHANGELOG
|
2
|
+
|
3
|
+
## Next
|
4
|
+
|
5
|
+
## 0.2.0 - 2023-04-26
|
6
|
+
|
7
|
+
- [PR#9](https://github.com/tablecheck/paygate-ruby/pull/9) Rename Paygate::FormHelper to Paygate::Rails::FormHelper. ([johnnyshields](https://github.com/johnnyshields))
|
8
|
+
- [PR#9](https://github.com/tablecheck/paygate-ruby/pull/9) Do not include Paygate::FormHelper in ActionView::Base. ([johnnyshields](https://github.com/johnnyshields))
|
9
|
+
- [PR#9](https://github.com/tablecheck/paygate-ruby/pull/9) Update BIN list. Note BINs can now be a flexible number of digits. ([johnnyshields](https://github.com/johnnyshields))
|
10
|
+
- [PR#9](https://github.com/tablecheck/paygate-ruby/pull/9) Rename data config YAML keys. ([johnnyshields](https://github.com/johnnyshields))
|
11
|
+
- [PR#10](https://github.com/tablecheck/paygate-ruby/pull/10) Add Rubocop and fix compliance issues. ([johnnyshields](https://github.com/johnnyshields))
|
12
|
+
|
13
|
+
## 0.1.11 - 2022-05-13
|
14
|
+
|
15
|
+
- [PR#7](https://github.com/tablecheck/paygate-ruby/pull/7) Fix missed files in gem package. ([johnnyshields](https://github.com/johnnyshields))
|
16
|
+
- [PR#6](https://github.com/jagdeepsingh/paygate-ruby/pull/6) Support Ruby 3.1. ([johnnyshields](https://github.com/johnnyshields))
|
17
|
+
- [PR#6](https://github.com/jagdeepsingh/paygate-ruby/pull/6) Change repo attribution to TableCheck. ([johnnyshields](https://github.com/johnnyshields))
|
18
|
+
- [PR#6](https://github.com/jagdeepsingh/paygate-ruby/pull/6) Add rudimentary CI test. ([johnnyshields](https://github.com/johnnyshields))
|
19
|
+
|
20
|
+
## 0.1.8 - 2020-02-11
|
21
|
+
|
22
|
+
- [PR#5](https://github.com/jagdeepsingh/paygate-ruby/pull/5) Add `verify` method to Transaction class and more meta fields to the payment form. ([jagdeepsingh](https://github.com/jagdeepsingh))
|
23
|
+
|
24
|
+
## 0.1.7 - 2019-11-01
|
25
|
+
|
26
|
+
- [PR#4](https://github.com/jagdeepsingh/paygate-ruby/pull/4) Update BIN numbers for Korean domestic cards (Oct 2019). ([jagdeepsingh](https://github.com/jagdeepsingh))
|
27
|
+
|
28
|
+
## 0.1.6 - 2019-02-01
|
29
|
+
|
30
|
+
- Update BIN numbers for Korean domestic cards (Feb 2019). ([jagdeepsingh](https://github.com/jagdeepsingh))
|
31
|
+
|
32
|
+
## 0.1.5 - 2019-01-21
|
33
|
+
|
34
|
+
- Update BIN numbers for Korean domestic cards (Jan 2019). ([jagdeepsingh](https://github.com/jagdeepsingh))
|
35
|
+
|
36
|
+
## 0.1.4 - 2018-04-20
|
37
|
+
|
38
|
+
- [PR#3](https://github.com/jagdeepsingh/paygate-ruby/pull/3) Make `Paygate` configurable with the help of a block. ([jagdeepsingh](https://github.com/jagdeepsingh))
|
39
|
+
|
40
|
+
## 0.1.2 - 2018-03-16
|
41
|
+
|
42
|
+
- Fix Bug - Pass correct value of _amount_ for full refund of a transaction. ([jagdeepsingh](https://github.com/jagdeepsingh))
|
43
|
+
|
44
|
+
## 0.1.1 - 2018-03-09
|
45
|
+
|
46
|
+
- [PR#1](https://github.com/jagdeepsingh/paygate-ruby/pull/1) Add raw info to the response of refund transaction. ([jagdeepsingh](https://github.com/jagdeepsingh))
|
47
|
+
|
48
|
+
## 0.1.0 - 2017-11-29
|
49
|
+
|
50
|
+
- Add view helper for rendering OpenPayAPI payment form with default values. ([jagdeepsingh](https://github.com/jagdeepsingh))
|
51
|
+
- Add Javascript helpers for accessing OpenPayAPI payment form and payment screen. ([jagdeepsingh](https://github.com/jagdeepsingh))
|
52
|
+
- Support full refund of a transaction using CancelAPI. ([jagdeepsingh](https://github.com/jagdeepsingh))
|
53
|
+
- Support future payments (Profile Pay) for existing customers. ([jagdeepsingh](https://github.com/jagdeepsingh))
|
data/LICENSE.txt
CHANGED
@@ -1,21 +1,21 @@
|
|
1
|
-
The MIT License (MIT)
|
2
|
-
|
3
|
-
Copyright (c) 2017
|
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.
|
1
|
+
The MIT License (MIT)
|
2
|
+
|
3
|
+
Copyright (c) 2017 Jagdeep Singh and TableCheck Inc.
|
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.
|