{"id":20672075,"url":"https://github.com/workarea-commerce/workarea-kount","last_synced_at":"2026-04-17T14:31:57.846Z","repository":{"id":55992733,"uuid":"296096096","full_name":"workarea-commerce/workarea-kount","owner":"workarea-commerce","description":"Integrate the Kount Fraud Protection service with your Workarea application","archived":false,"fork":false,"pushed_at":"2020-12-02T13:27:47.000Z","size":1313,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-03-26T23:45:03.472Z","etag":null,"topics":["kount","plugin","workarea"],"latest_commit_sha":null,"homepage":"https://workarea.com","language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/workarea-commerce.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE.md","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-09-16T17:01:41.000Z","updated_at":"2020-12-02T13:27:46.000Z","dependencies_parsed_at":"2022-08-15T11:00:39.175Z","dependency_job_id":null,"html_url":"https://github.com/workarea-commerce/workarea-kount","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/workarea-commerce/workarea-kount","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/workarea-commerce%2Fworkarea-kount","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/workarea-commerce%2Fworkarea-kount/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/workarea-commerce%2Fworkarea-kount/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/workarea-commerce%2Fworkarea-kount/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/workarea-commerce","download_url":"https://codeload.github.com/workarea-commerce/workarea-kount/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/workarea-commerce%2Fworkarea-kount/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31932959,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-17T12:37:54.787Z","status":"ssl_error","status_checked_at":"2026-04-17T12:37:25.095Z","response_time":62,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["kount","plugin","workarea"],"created_at":"2024-11-16T20:31:46.286Z","updated_at":"2026-04-17T14:31:57.826Z","avatar_url":"https://github.com/workarea-commerce.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Workarea Kount\n\nA plugin for integrating the [Kount](https://kount.com) fraudulent order\ndetection service with the [Workarea](https://workarea.com) commerce\nplatform.\n\n## Getting Started\n\nFirst, add the gem to your bundle:\n\n```ruby\ngem 'workarea-kount'\n```\n\nThen, run:\n\n```bash\n$ bundle\n```\n\n## Configuration\n\nAdd values for `merchant_id`, `version`, `key`, and `ksalt` to your\napplication secrets:\n\n```yaml\nkount:\n  merchant_id: (all of the following is obtained from Kount)\n  version:\n  key:\n  ksalt:\n  ens_username: username for basic auth for ENS\n  ens_password: password for basic auth for ENS\n  kount_site: \u003csite name for ENS\u003e\n```\n\n### Event Notification System Configuration\n\nThe Kount ENS requires configuration in Workarea to match configuration in Kount.\nIf the ENS is not configured properly, Kount review decisions will not be\nreceived by Workarea.\n\nWorkarea uses basic auth credentials `ens_username:ens_password` to authenticate\nrequests from the Kount ENS. If your application is behind basic_auth (e.g. in\nstaging or QA) you should configure these credentials to match your basic auth\ncredentials for the environment. If your application is not behind basic auth\nthese credentials can be anything you want, as long as they are secure.\n\n#### Kount Site\n\nThe `kount_site` configuration is used by kount ENS to determine which endpoint\nevents should be sent to. If no `kount_site` is provided the DEFAULT site will\nbe used. `kount_site` can be used to configure different ENS endpoints for\ntesting inQA and Staging, or for multi-site implementations.\n\n#### Configure ENS in Kount\n\nIn the Kount admin navigate to: `Fraud Control` -\u003e `Websites` -\u003e `Add Website`\n\nThe ENS Api URL should look like `https://ENS_USERNAME:ENS_PASSWORD@WEBSITE_DOMAIN/kount_orders`\n\nExample: `https://kount:aksjei8243d8@www.example.com/kount_orders`\n\n## Usage\n\nKount works with Workarea's `FraudDecision` API. When configured, this\nplugin will automatically send orders to Kount to determine whether they\nare fraudulent.\n\n### Response Codes\n\nKount's Risk Inquiry Services will return one of the following values:\n\n* **Approved** - the order is not suspected as fraudulent\n* **Decline** - the order is fraudulent\n* **Review** - the order is suspected to be fraudulent\n\n### Order Flow\n\nBefore payment is captured, this plugin will send credit card and PayPal\norders to Kount upon order placement. Based on the response from Kount,\none of the following actions will be taken:\n\n#### Approved - The order is not fraudulent\n\nThe order is placed.\n\n#### Decline - The order is fraudulent\n\nAn error is shown to the customer and redirected back to the payment step.\n\n#### Hold for manager review - the order is suspected fraudulent\n\nThe credit card is tokenized and inventory is captured but the payment is not\nauthorized/purchased. The customer is shown the order confirmation as if the\norder is placed. A Kount admin user needs to use approve or decline the order\nvia the Kount admin. This order will also be available to view in the\nWorkarea admin.\n\nThe Kount Event Notificaion System (ENS) will post the data back to Workarea.\n\nIf the admin declines the order in Kount, the order is canceled and the customer\nrecieves a cancelation email.\n\nIf the admin approves the order, the payment is attemped to be captured. If the\npayment captures successfully the order is placed.  If the payment fails\nauthorization/purchase, the order is canceled and the customer recives a\ncancelation email.\n\n## Workarea Platform Documentation\n\nSee [http://developer.workarea.com](http://developer.workarea.com) for Workarea\nplatform documentation.\n\n## Copyright \u0026 Licensing\n\nCopyright WebLinc 2018. All rights reserved.\n\nFor licensing, contact sales@weblinc.com.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fworkarea-commerce%2Fworkarea-kount","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fworkarea-commerce%2Fworkarea-kount","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fworkarea-commerce%2Fworkarea-kount/lists"}