workarea-kount 3.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (163) hide show
  1. checksums.yaml +7 -0
  2. data/.editorconfig +20 -0
  3. data/.eslintrc +24 -0
  4. data/.github/ISSUE_TEMPLATE/bug_report.md +37 -0
  5. data/.github/ISSUE_TEMPLATE/documentation-request.md +17 -0
  6. data/.github/ISSUE_TEMPLATE/feature_request.md +20 -0
  7. data/.github/workflows/ci.yml +58 -0
  8. data/.gitignore +14 -0
  9. data/.rubocop.yml +2 -0
  10. data/CHANGELOG.md +212 -0
  11. data/CODE_OF_CONDUCT.md +3 -0
  12. data/CONTRIBUTING.md +3 -0
  13. data/Gemfile +17 -0
  14. data/LICENSE.md +3 -0
  15. data/README.md +98 -0
  16. data/Rakefile +53 -0
  17. data/app/controllers/workarea/admin/orders_controller.decorator +5 -0
  18. data/app/controllers/workarea/storefront/checkout/place_order_controller.decorator +11 -0
  19. data/app/controllers/workarea/storefront/kount_controller.rb +19 -0
  20. data/app/controllers/workarea/storefront/kount_orders_controller.rb +40 -0
  21. data/app/lib/active_shipping/rate_estimate.decorator +10 -0
  22. data/app/mailers/workarea/storefront/order_mailer.decorator +14 -0
  23. data/app/models/workarea/checkout.decorator +37 -0
  24. data/app/models/workarea/checkout/fraud/kount_analyzer.rb +71 -0
  25. data/app/models/workarea/kount/ens_event.rb +13 -0
  26. data/app/models/workarea/kount/order.rb +14 -0
  27. data/app/models/workarea/order.decorator +62 -0
  28. data/app/models/workarea/order/fraud_decision.decorator +9 -0
  29. data/app/models/workarea/order/item.decorator +8 -0
  30. data/app/models/workarea/order/status/review.rb +13 -0
  31. data/app/models/workarea/payment/credit_card.decorator +13 -0
  32. data/app/models/workarea/payment/payment.decorator +11 -0
  33. data/app/models/workarea/payment/status/kount_declined.rb +13 -0
  34. data/app/models/workarea/payment/status/kount_review.rb +13 -0
  35. data/app/models/workarea/payment/tender/credit_card.decorator +10 -0
  36. data/app/models/workarea/search/admin.decorator +12 -0
  37. data/app/models/workarea/search/admin/order.decorator +7 -0
  38. data/app/models/workarea/shipping/rate_lookup.decorator +26 -0
  39. data/app/models/workarea/shipping/service.decorator +9 -0
  40. data/app/models/workarea/shipping/service_selection.decorator +7 -0
  41. data/app/models/workarea/shipping_option.decorator +27 -0
  42. data/app/services/workarea/kount/cancel_order_under_review.rb +28 -0
  43. data/app/services/workarea/kount/event.rb +43 -0
  44. data/app/services/workarea/kount/event/dmc_event.rb +9 -0
  45. data/app/services/workarea/kount/event/risk_change_event.rb +21 -0
  46. data/app/services/workarea/kount/event/special_alert_event.rb +21 -0
  47. data/app/services/workarea/kount/event/workflow_event.rb +25 -0
  48. data/app/services/workarea/kount/event_batch.rb +37 -0
  49. data/app/services/workarea/kount/order_fraud_update_service.rb +42 -0
  50. data/app/services/workarea/kount/ris_inquiry.rb +120 -0
  51. data/app/services/workarea/kount/ris_inquiry/product.rb +53 -0
  52. data/app/services/workarea/kount/ris_request.rb +84 -0
  53. data/app/services/workarea/kount/ris_update.rb +39 -0
  54. data/app/view_models/workarea/admin/order_view_model.decorator +35 -0
  55. data/app/view_models/workarea/storefront/order_view_model.decorator +11 -0
  56. data/app/views/workarea/admin/orders/_kount.html.haml +28 -0
  57. data/app/views/workarea/admin/orders/kount.html.haml +46 -0
  58. data/app/views/workarea/storefront/checkouts/_kount_data_collector.html.haml +4 -0
  59. data/app/views/workarea/storefront/order_mailer/hold_denial.html.haml +14 -0
  60. data/app/workers/workarea/kount/process_review_order.rb +75 -0
  61. data/app/workers/workarea/kount/update_ris_inquiry.rb +31 -0
  62. data/bin/rails +18 -0
  63. data/config/initializers/appends.rb +11 -0
  64. data/config/initializers/workarea.rb +26 -0
  65. data/config/locales/en.yml +26 -0
  66. data/config/routes.rb +14 -0
  67. data/doc/Kount Technical Specification Guide 5.5.5.pdf +0 -0
  68. data/lib/workarea/kount.rb +87 -0
  69. data/lib/workarea/kount/address.rb +39 -0
  70. data/lib/workarea/kount/bogus_gateway.rb +415 -0
  71. data/lib/workarea/kount/engine.rb +8 -0
  72. data/lib/workarea/kount/errors.rb +2 -0
  73. data/lib/workarea/kount/gateway.rb +50 -0
  74. data/lib/workarea/kount/mappings.rb +195 -0
  75. data/lib/workarea/kount/payment_types.rb +50 -0
  76. data/lib/workarea/kount/response.rb +141 -0
  77. data/lib/workarea/kount/security_mash.rb +79 -0
  78. data/lib/workarea/kount/user_defined_fields.rb +16 -0
  79. data/lib/workarea/kount/version.rb +5 -0
  80. data/lib/workarea/mailer_previews/storefront/order_mailer_preview.rb +10 -0
  81. data/test/dummy/Rakefile +6 -0
  82. data/test/dummy/app/assets/config/manifest.js +4 -0
  83. data/test/dummy/app/assets/images/.keep +0 -0
  84. data/test/dummy/app/assets/javascripts/application.js +13 -0
  85. data/test/dummy/app/assets/stylesheets/application.css +15 -0
  86. data/test/dummy/app/controllers/application_controller.rb +3 -0
  87. data/test/dummy/app/controllers/concerns/.keep +0 -0
  88. data/test/dummy/app/helpers/application_helper.rb +2 -0
  89. data/test/dummy/app/jobs/application_job.rb +2 -0
  90. data/test/dummy/app/mailers/application_mailer.rb +4 -0
  91. data/test/dummy/app/models/concerns/.keep +0 -0
  92. data/test/dummy/app/views/layouts/application.html.erb +14 -0
  93. data/test/dummy/app/views/layouts/mailer.html.erb +13 -0
  94. data/test/dummy/app/views/layouts/mailer.text.erb +1 -0
  95. data/test/dummy/bin/bundle +3 -0
  96. data/test/dummy/bin/rails +4 -0
  97. data/test/dummy/bin/rake +4 -0
  98. data/test/dummy/bin/setup +34 -0
  99. data/test/dummy/bin/update +29 -0
  100. data/test/dummy/config.ru +5 -0
  101. data/test/dummy/config/application.rb +23 -0
  102. data/test/dummy/config/boot.rb +5 -0
  103. data/test/dummy/config/cable.yml +9 -0
  104. data/test/dummy/config/environment.rb +5 -0
  105. data/test/dummy/config/environments/development.rb +56 -0
  106. data/test/dummy/config/environments/production.rb +86 -0
  107. data/test/dummy/config/environments/test.rb +44 -0
  108. data/test/dummy/config/initializers/application_controller_renderer.rb +6 -0
  109. data/test/dummy/config/initializers/assets.rb +11 -0
  110. data/test/dummy/config/initializers/backtrace_silencers.rb +7 -0
  111. data/test/dummy/config/initializers/cookies_serializer.rb +5 -0
  112. data/test/dummy/config/initializers/filter_parameter_logging.rb +4 -0
  113. data/test/dummy/config/initializers/inflections.rb +16 -0
  114. data/test/dummy/config/initializers/mime_types.rb +4 -0
  115. data/test/dummy/config/initializers/new_framework_defaults.rb +21 -0
  116. data/test/dummy/config/initializers/session_store.rb +3 -0
  117. data/test/dummy/config/initializers/workarea.rb +5 -0
  118. data/test/dummy/config/initializers/wrap_parameters.rb +14 -0
  119. data/test/dummy/config/locales/en.yml +23 -0
  120. data/test/dummy/config/puma.rb +47 -0
  121. data/test/dummy/config/routes.rb +6 -0
  122. data/test/dummy/config/secrets.yml +22 -0
  123. data/test/dummy/config/spring.rb +6 -0
  124. data/test/dummy/db/seeds.rb +2 -0
  125. data/test/dummy/lib/assets/.keep +0 -0
  126. data/test/dummy/log/.keep +0 -0
  127. data/test/dummy/public/404.html +67 -0
  128. data/test/dummy/public/422.html +67 -0
  129. data/test/dummy/public/500.html +66 -0
  130. data/test/dummy/public/apple-touch-icon-precomposed.png +0 -0
  131. data/test/dummy/public/apple-touch-icon.png +0 -0
  132. data/test/dummy/public/favicon.ico +0 -0
  133. data/test/factories/kount.rb +164 -0
  134. data/test/integration/workarea/api/admin/payment_transactions_integration_test.decorator +29 -0
  135. data/test/integration/workarea/kount_moneris_integration_test.rb +37 -0
  136. data/test/integration/workarea/storefront/kount_integration_test.rb +37 -0
  137. data/test/integration/workarea/storefront/kount_orders_integration_test.rb +89 -0
  138. data/test/lib/workarea/kount/response_test.rb +95 -0
  139. data/test/lib/workarea/kount/security_mash_test.rb +62 -0
  140. data/test/models/workarea/checkout/fraud/kount_analyzer_test.rb +44 -0
  141. data/test/models/workarea/checkout_test.decorator +22 -0
  142. data/test/models/workarea/order/queries_test.decorator +28 -0
  143. data/test/models/workarea/order_test.decorator +25 -0
  144. data/test/models/workarea/payment/payment_test.rb +106 -0
  145. data/test/models/workarea/payment/saved_credit_card_test.rb +24 -0
  146. data/test/models/workarea/payment_test.decorator +54 -0
  147. data/test/models/workarea/shipping_option_test.rb +29 -0
  148. data/test/services/workarea/kount/event_batch_test.rb +95 -0
  149. data/test/services/workarea/kount/event_test.rb +51 -0
  150. data/test/services/workarea/kount/order_fraud_update_service_test.rb +48 -0
  151. data/test/support/workarea/kount_api_config.rb +27 -0
  152. data/test/system/workarea/kount_system_test.rb +72 -0
  153. data/test/system/workarea/storefront/kount_guest_checkout_system_test.rb +32 -0
  154. data/test/system/workarea/storefront/kount_logged_in_checkout_system_test.rb +102 -0
  155. data/test/test_helper.rb +16 -0
  156. data/test/vcr_cassettes/kount/basic_fraud_test.yml +43 -0
  157. data/test/vcr_cassettes/kount/integration/moneris_new_credit_card.yml +84 -0
  158. data/test/vcr_cassettes/kount/integration/moneris_saved_credit_card.yml +84 -0
  159. data/test/vcr_cassettes/kount/order_fraud_update.yml +82 -0
  160. data/test/workers/workarea/kount/clean_orders_test.rb +40 -0
  161. data/test/workers/workarea/kount/process_review_order_test.rb +100 -0
  162. data/workarea-kount.gemspec +17 -0
  163. metadata +238 -0
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA256:
3
+ metadata.gz: dec6d8965971419785fde11328c8fd1cacc219c760b90820b16f96b391b02cac
4
+ data.tar.gz: 359d34f1c976b07f9a2834188d13350228fc858930c9cf11d46e88a5300299ca
5
+ SHA512:
6
+ metadata.gz: 0dae40836335fb1af2cb49185d3b1f1a33157c5af1e36b7e2daa448cb562b7580b8b80eaf69c8abf7140a63bf766223cdc5c13605a6c13cf086cb9fbda7561d2
7
+ data.tar.gz: 2d0282040537045f48fecb87beee4a17055397c48b35d0de49da3516a23c6815fc13bf7a14e61ae104ab824ef350c44acfe7fa6b90e989d8a4d4913166c8f655
@@ -0,0 +1,20 @@
1
+ # editorconfig.org
2
+ root = true
3
+
4
+ [*]
5
+ charset = utf-8
6
+ indent_style = space
7
+ end_of_line = lf
8
+ trim_trailing_whitespace = true
9
+ insert_final_newline = true
10
+
11
+ [{*.rb,*.haml,*.decorator,*.yml,*.yaml,*.jbuilder}]
12
+ indent_size = 2
13
+ indent_style = space
14
+
15
+ [{*.js,*.jst,*.ejs,*.scss}]
16
+ indent_size = 4
17
+
18
+ [*.md]
19
+ indent_size = 4
20
+ trim_trailing_whitespace = false
@@ -0,0 +1,24 @@
1
+ {
2
+ "extends": "eslint:recommended",
3
+ "rules": {
4
+ "semi": [1, "always"]
5
+ },
6
+ "globals": {
7
+ "window": true,
8
+ "document": true,
9
+ "WORKAREA": true,
10
+ "$": true,
11
+ "jQuery": true,
12
+ "_": true,
13
+ "feature": true,
14
+ "JST": true,
15
+ "Turbolinks": true,
16
+ "I18n": true,
17
+ "Chart": true,
18
+ "Dropzone": true,
19
+ "strftime": true,
20
+ "Waypoint": true,
21
+ "wysihtml": true,
22
+ "LocalTime": true,
23
+ }
24
+ }
@@ -0,0 +1,37 @@
1
+ ---
2
+ name: Bug report
3
+ about: Create a report to help us improve Workarea
4
+ title: ''
5
+ labels: bug
6
+ assignees: ''
7
+
8
+ ---
9
+
10
+ ⚠️**Before you create**⚠️
11
+ Please verify the issue you're experiencing is not part of your Workarea project customizations. The best way to do this is with a [vanilla Workarea installation](https://developer.workarea.com/articles/create-a-new-host-application.html). This will help us spend time on fixes/improvements for the whole community. Thank you!
12
+
13
+ **Describe the bug**
14
+ A clear and concise description of what the bug is.
15
+
16
+ **To Reproduce**
17
+ Steps to reproduce the behavior:
18
+ 1. Go to '...'
19
+ 2. Click on '....'
20
+ 3. Scroll down to '....'
21
+ 4. See error
22
+
23
+ **Expected behavior**
24
+ A clear and concise description of what you expected to happen.
25
+
26
+ **Workarea Setup (please complete the following information):**
27
+ - Workarea Version: [e.g. v3.4.6]
28
+ - Plugins [e.g. workarea-blog, workarea-sitemaps]
29
+
30
+ **Attachments**
31
+ If applicable, add any attachments to help explain your problem, things like:
32
+ - screenshots
33
+ - Gemfile.lock
34
+ - test cases
35
+
36
+ **Additional context**
37
+ Add any other context about the problem here.
@@ -0,0 +1,17 @@
1
+ ---
2
+ name: Documentation request
3
+ about: Suggest documentation
4
+ title: ''
5
+ labels: documentation
6
+ assignees: ''
7
+
8
+ ---
9
+
10
+ **Is your documentation related to a problem? Please describe.**
11
+ A clear and concise description of what the problem is. Ex. I'm confused by [...]
12
+
13
+ **Describe the article you'd like**
14
+ A clear and concise description of what would be in the documentation article.
15
+
16
+ **Additional context**
17
+ Add any other context or screenshots about the feature request here.
@@ -0,0 +1,20 @@
1
+ ---
2
+ name: Feature request
3
+ about: Suggest an idea for Workarea
4
+ title: ''
5
+ labels: enhancement
6
+ assignees: ''
7
+
8
+ ---
9
+
10
+ **Is your feature request related to a problem? Please describe.**
11
+ A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
12
+
13
+ **Describe the solution you'd like**
14
+ A clear and concise description of what you want to happen.
15
+
16
+ **Describe alternatives you've considered**
17
+ A clear and concise description of any alternative solutions or features you've considered.
18
+
19
+ **Additional context**
20
+ Add any other context or screenshots about the feature request here.
@@ -0,0 +1,58 @@
1
+ name: CI
2
+ on: [push]
3
+ env:
4
+ BUNDLE_GEMS__WORKAREA__COM: ${{ secrets.BUNDLE_GEMS__WORKAREA__COM }}
5
+ CC_PROCESSOR: moneris
6
+ jobs:
7
+ static_analysis:
8
+ runs-on: ubuntu-latest
9
+ steps:
10
+ - uses: actions/checkout@v1
11
+ - uses: workarea-commerce/ci/bundler-audit@v1
12
+ with:
13
+ args: '--ignore CVE-2020-8161'
14
+ - uses: workarea-commerce/ci/rubocop@v1
15
+
16
+ admin_tests:
17
+ runs-on: ubuntu-latest
18
+ steps:
19
+ - uses: actions/checkout@v1
20
+ - uses: actions/setup-ruby@v1
21
+ with:
22
+ ruby-version: 2.6.x
23
+ - uses: workarea-commerce/ci/test@v1
24
+ with:
25
+ command: bin/rails app:workarea:test:admin
26
+
27
+ core_tests:
28
+ runs-on: ubuntu-latest
29
+ steps:
30
+ - uses: actions/checkout@v1
31
+ - uses: actions/setup-ruby@v1
32
+ with:
33
+ ruby-version: 2.6.x
34
+ - uses: workarea-commerce/ci/test@v1
35
+ with:
36
+ command: bin/rails app:workarea:test:core
37
+
38
+ storefront_tests:
39
+ runs-on: ubuntu-latest
40
+ steps:
41
+ - uses: actions/checkout@v1
42
+ - uses: actions/setup-ruby@v1
43
+ with:
44
+ ruby-version: 2.6.x
45
+ - uses: workarea-commerce/ci/test@v1
46
+ with:
47
+ command: bin/rails app:workarea:test:storefront
48
+
49
+ plugins_tests:
50
+ runs-on: ubuntu-latest
51
+ steps:
52
+ - uses: actions/checkout@v1
53
+ - uses: actions/setup-ruby@v1
54
+ with:
55
+ ruby-version: 2.6.x
56
+ - uses: workarea-commerce/ci/test@v1
57
+ with:
58
+ command: bin/rails app:workarea:test:plugins
@@ -0,0 +1,14 @@
1
+ .bundle/
2
+ log/*.log
3
+ pkg/
4
+ test/dummy/db/*.sqlite3
5
+ test/dummy/db/*.sqlite3-journal
6
+ test/dummy/log/*.log
7
+ test/dummy/tmp/
8
+ test/dummy/.sass-cache
9
+ Gemfile.lock
10
+ test/dummy/public/system
11
+ .DS_STORE
12
+ coverage
13
+ .byebug_history
14
+ .rubocop-http*
@@ -0,0 +1,2 @@
1
+ inherit_from:
2
+ - https://raw.githubusercontent.com/workarea-commerce/workarea/master/.rubocop.yml
@@ -0,0 +1,212 @@
1
+ Workarea Kount 3.3.0 (2020-09-25)
2
+ --------------------------------------------------------------------------------
3
+
4
+ * Refactor To Use Fraud Decision Framework
5
+
6
+ Workarea v3.5 introduced a new "fraud decision" API that allows any
7
+ integration plugin to consistently provide information on fraudulent
8
+ orders. To take advantage of this API, the Kount plugin renamed its
9
+ `Kount::OrderFraudService` to `Checkout::Fraud::KountAnalyzer` and now
10
+ configures this analyzer by default when installing the plugin. This
11
+ way, after installing and configuring the Kount plugin, you will
12
+ automatically link Kount in with the rest of the fraud decision
13
+ framework that is built in core. This commit also takes care of the test
14
+ suite as there were a number of failures when combining with other
15
+ plugins.
16
+
17
+ KOUNT-2
18
+ KOUNT-3
19
+ Fixes #1
20
+
21
+ Tom Scott
22
+
23
+ * Update linter configuration and run RuboCop with auto corrections
24
+
25
+
26
+ Tom Scott
27
+
28
+
29
+
30
+ Workarea Kount 3.2.3 (2019-09-17)
31
+ --------------------------------------------------------------------------------
32
+
33
+ * Update `Order.find_current` to exlucde orders under kount review
34
+
35
+ Prevent orders that are placed under review from Kount's fraud decision
36
+ from being edited as carts
37
+
38
+ KOUNT-41
39
+ Eric Pigeon
40
+
41
+
42
+
43
+ Workarea Kount 3.2.2 (2019-05-28)
44
+ --------------------------------------------------------------------------------
45
+
46
+ * Set PTYP to TOKEN for saved credit cards
47
+
48
+ KOUNT-40
49
+ Eric Pigeon
50
+
51
+
52
+
53
+ Workarea Kount 3.2.1 (2019-05-14)
54
+ --------------------------------------------------------------------------------
55
+
56
+ * Prevent order confirmation emails being sent for orders in kount review
57
+
58
+ * Disable order reminders for any order with a kount status.
59
+ * Decorate payment_test to include an order and use the order's ID for payment
60
+
61
+ KOUNT-39
62
+ Jake Beresford
63
+
64
+
65
+
66
+ Workarea Kount 3.2.0 (2019-04-30)
67
+ --------------------------------------------------------------------------------
68
+
69
+ * Kount admin improvements
70
+
71
+ * Index orders declined by Kount in the admin
72
+ * Display kount decision in the admin
73
+ * Add payment status calculator for kount review and kount declined
74
+
75
+ KOUNT-38
76
+ Jake Beresford
77
+
78
+ * README Improvements
79
+
80
+ * Add `kount_site` configuration instructions
81
+ * Clarify ENS integration
82
+ * Fix spelling and grammar
83
+
84
+ KOUNT-36
85
+ Jake Beresford
86
+
87
+
88
+
89
+ Workarea Kount 3.1.1 (2019-03-19)
90
+ --------------------------------------------------------------------------------
91
+
92
+ * Fix rubocop error
93
+
94
+ KOUNT-34
95
+ Jake Beresford
96
+
97
+ * Add safe navigation to .success method for Admin::OrderViewModel#kount_order_success?
98
+
99
+ KOUNT-34
100
+ Jake Beresford
101
+
102
+ * Update CI scripts for v3.4 compatibility
103
+
104
+ KOUNT-34
105
+ Jake Beresford
106
+
107
+
108
+
109
+ Workarea Kount 3.1.0 (2019-01-22)
110
+ --------------------------------------------------------------------------------
111
+
112
+ * Add Kount order fraud card in admin
113
+
114
+ Add order fraud card to the order admin exposing the score, number of
115
+ cards, email addresses, devices and rules triggered.
116
+
117
+ KOUNT-33
118
+ Eric Pigeon
119
+
120
+
121
+
122
+ Workarea Kount 3.0.1 (2018-12-11)
123
+ --------------------------------------------------------------------------------
124
+
125
+ * Index orders under kount review in the admin
126
+
127
+ Fixes a bug where orders that were placed under review by kount during
128
+ order place weren't being made available in the admin search.
129
+
130
+ KOUNT-32
131
+ Eric Pigeon
132
+
133
+
134
+
135
+ Workarea Kount 3.0.0 (2018-10-02)
136
+ --------------------------------------------------------------------------------
137
+
138
+ * Kount Pre-Authorization
139
+
140
+ Integration kount pre authorization. Before the credit card or payment
141
+ is authorized a request to kount is made. If kount approved checkout
142
+ continues as normal. If kount declines an error message is show to the
143
+ user. If kount makes as review the end user is show the order as if it
144
+ is placed but no authorization happens. An admin will have to appove or
145
+ decline the order in kount admin, to place the order or cancel the order
146
+ out. See the README for more details.
147
+
148
+ KOUNT-26
149
+ Eric Pigeon
150
+
151
+
152
+
153
+ Workarea Kount 2.0.1 (2018-03-21)
154
+ --------------------------------------------------------------------------------
155
+
156
+ * Update code to not be dependent on paypal or plugin giftcards
157
+
158
+ instead of checking the class of the tender use the tender slug it
159
+ doesn't create a dependency on the Tender::Paypal or Tender::GiftCard
160
+ constants.
161
+
162
+ KOUNT-20
163
+ Eric Pigeon
164
+
165
+ * Append data collector to the top of checkout payment
166
+
167
+ KOUNT-21
168
+ Dave Barnow
169
+
170
+ * KOUNT-16: Stop Collector iFrame from displaying on payment step
171
+ Jordan Stewart
172
+
173
+ * KOUNT-13: Update payment type for Store Credit
174
+ Bryan Alexander
175
+
176
+
177
+ Workarea Kount 2.0.0 (2017-09-07)
178
+ --------------------------------------------------------------------------------
179
+
180
+ * Clean up Kount test suite
181
+
182
+ stop test suite from using the sandbox gateway outside of tests using
183
+ VCR. Clean up some unused test methods leftover from the upgrade. Use
184
+ Workarea::TestCase where appropriate.
185
+
186
+ KOUNT-11
187
+ Eric Pigeon
188
+
189
+ * * Use time travel to aid asserting card number encryption
190
+ * Configure sandbox credentials for minitest
191
+
192
+ KOUNT-8
193
+ Jake Beresford
194
+
195
+ * * Move kount_priorities onto Workarea::Kount.config
196
+ * Reverse naming and logic for worker_enabled to worker_disabled
197
+ * Update readme
198
+
199
+ KOUNT-8
200
+ Jake Beresford
201
+
202
+ * Upgrade for v3 compatability
203
+
204
+ * remove listener, add sidekiq worker enqueue_on instead
205
+ * Rename to workarea and storefront, bump dependencies, Add dotfiles for linting etc., Update rakefile for v3 and add changelog task, Update decorator syntax, Convert rspec to minitest
206
+ * update shipping_method to shipping_service
207
+ * update references to order.number to use order.id
208
+ * Add paypal and giftcard gems to testing env and test these integrations conditionally
209
+ * Send StoreCredit tender as 'OTHER' Kount PaymentType
210
+
211
+ KOUNT-8
212
+ Jake Beresford
@@ -0,0 +1,3 @@
1
+ View this plugin's code of conduct here:
2
+
3
+ <https://github.com/workarea-commerce/workarea/blob/master/CODE_OF_CONDUCT.md>
@@ -0,0 +1,3 @@
1
+ View this plugin's contribution guidelines here:
2
+
3
+ <https://github.com/workarea-commerce/workarea/blob/master/CONTRIBUTING.md>
data/Gemfile ADDED
@@ -0,0 +1,17 @@
1
+ source 'https://rubygems.org'
2
+ git_source(:github) { |repo| "git@github.com:#{repo}.git" }
3
+
4
+ gemspec
5
+
6
+ gem 'byebug'
7
+
8
+ group :test do
9
+ gem 'simplecov'
10
+ gem 'workarea-paypal', '~> 2.x'
11
+ gem 'workarea-api'
12
+
13
+ case ENV['CC_PROCESSOR']
14
+ when 'moneris'
15
+ gem 'workarea-moneris', source: 'https://gems.workarea.com'
16
+ end
17
+ end