paygate-ruby 0.1.6 → 0.1.11
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +45 -28
- data/LICENSE.txt +21 -21
- data/README.md +327 -316
- data/Rakefile +3 -2
- data/data/card_bin_20191001.xlsx +0 -0
- data/data/config.yml +2744 -2686
- data/lib/paygate/aes.rb +150 -150
- data/lib/paygate/aes_ctr.rb +133 -133
- data/lib/paygate/configuration.rb +16 -16
- data/lib/paygate/helpers/form_helper.rb +155 -80
- data/lib/paygate/member.rb +21 -21
- data/lib/paygate/profile.rb +30 -30
- data/lib/paygate/response.rb +25 -25
- data/lib/paygate/transaction.rb +58 -47
- data/lib/paygate/version.rb +3 -3
- data/lib/paygate-ruby.rb +48 -48
- data/spec/integration/paygate_spec.rb +9 -0
- data/spec/spec_helper.rb +10 -0
- data/vendor/assets/javascripts/paygate.js +86 -81
- metadata +38 -26
- 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_20190201.xlsx +0 -0
- 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: 3f62ca50ef8ce0c2229225331534a3b9406e4b1b31e0803b9b38c00399df5d79
|
4
|
+
data.tar.gz: 9ffe0525b61ae0862f83bf7b371308cc0be363ad89820b488797381cb9ae6621
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 965ac46bfeadfb8fcb85241f3d6680eef5707746d97c1fef27a0f3870dcd14996c77444b12a0bab741cd26c0596e9cb060823670aa1bd57da9b0bd3a41905fa9
|
7
|
+
data.tar.gz: 2cc994cb985232fffd7be030547edad079c9ab3d91a0ce00eab2ce28339a12df2638f7729d9860478c9d061d2d96d88cc4abf2e1bb46a63c2bdb70078590c257
|
data/CHANGELOG.md
CHANGED
@@ -1,28 +1,45 @@
|
|
1
|
-
# CHANGELOG
|
2
|
-
|
3
|
-
##
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
-
|
27
|
-
|
28
|
-
|
1
|
+
# CHANGELOG
|
2
|
+
|
3
|
+
## Next
|
4
|
+
|
5
|
+
## 0.1.11 - 2022-05-13
|
6
|
+
|
7
|
+
- [PR#7](https://github.com/tablecheck/paygate-ruby/pull/7) Fix missed files in gem package. ([johnnyshields](https://github.com/johnnyshields))
|
8
|
+
- [PR#6](https://github.com/jagdeepsingh/paygate-ruby/pull/6) Support Ruby 3.1. ([johnnyshields](https://github.com/johnnyshields))
|
9
|
+
- [PR#6](https://github.com/jagdeepsingh/paygate-ruby/pull/6) Change repo attribution to TableCheck. ([johnnyshields](https://github.com/johnnyshields))
|
10
|
+
- [PR#6](https://github.com/jagdeepsingh/paygate-ruby/pull/6) Add rudimentary CI test. ([johnnyshields](https://github.com/johnnyshields))
|
11
|
+
|
12
|
+
## 0.1.8 - 2020-02-11
|
13
|
+
|
14
|
+
- [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))
|
15
|
+
|
16
|
+
## 0.1.7 - 2019-11-01
|
17
|
+
|
18
|
+
- [PR#4](https://github.com/jagdeepsingh/paygate-ruby/pull/4) Update BIN numbers for Korean domestic cards (Oct 2019). ([jagdeepsingh](https://github.com/jagdeepsingh))
|
19
|
+
|
20
|
+
## 0.1.6 - 2019-02-01
|
21
|
+
|
22
|
+
- Update BIN numbers for Korean domestic cards (Feb 2019). ([jagdeepsingh](https://github.com/jagdeepsingh))
|
23
|
+
|
24
|
+
## 0.1.5 - 2019-01-21
|
25
|
+
|
26
|
+
- Update BIN numbers for Korean domestic cards (Jan 2019). ([jagdeepsingh](https://github.com/jagdeepsingh))
|
27
|
+
|
28
|
+
## 0.1.4 - 2018-04-20
|
29
|
+
|
30
|
+
- [PR#3](https://github.com/jagdeepsingh/paygate-ruby/pull/3) Make `Paygate` configurable with the help of a block. ([jagdeepsingh](https://github.com/jagdeepsingh))
|
31
|
+
|
32
|
+
## 0.1.2 - 2018-03-16
|
33
|
+
|
34
|
+
- Fix Bug - Pass correct value of _amount_ for full refund of a transaction. ([jagdeepsingh](https://github.com/jagdeepsingh))
|
35
|
+
|
36
|
+
## 0.1.1 - 2018-03-09
|
37
|
+
|
38
|
+
- [PR#1](https://github.com/jagdeepsingh/paygate-ruby/pull/1) Add raw info to the response of refund transaction. ([jagdeepsingh](https://github.com/jagdeepsingh))
|
39
|
+
|
40
|
+
## 0.1.0 - 2017-11-29
|
41
|
+
|
42
|
+
- Add view helper for rendering OpenPayAPI payment form with default values. ([jagdeepsingh](https://github.com/jagdeepsingh))
|
43
|
+
- Add Javascript helpers for accessing OpenPayAPI payment form and payment screen. ([jagdeepsingh](https://github.com/jagdeepsingh))
|
44
|
+
- Support full refund of a transaction using CancelAPI. ([jagdeepsingh](https://github.com/jagdeepsingh))
|
45
|
+
- 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.
|