{"id":20672080,"url":"https://github.com/workarea-commerce/workarea-forter","last_synced_at":"2026-04-18T22:33:18.083Z","repository":{"id":56898473,"uuid":"203636666","full_name":"workarea-commerce/workarea-forter","owner":"workarea-commerce","description":"Integrate the Forter fraud prevention service with Workarea applications","archived":false,"fork":false,"pushed_at":"2020-01-22T00:39:22.000Z","size":127,"stargazers_count":0,"open_issues_count":1,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-03-11T19:37:53.671Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://plugins.workarea.com/plugins/forter","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","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-08-21T17:53:21.000Z","updated_at":"2020-01-22T00:39:24.000Z","dependencies_parsed_at":"2022-08-21T02:20:46.382Z","dependency_job_id":null,"html_url":"https://github.com/workarea-commerce/workarea-forter","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"purl":"pkg:github/workarea-commerce/workarea-forter","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/workarea-commerce%2Fworkarea-forter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/workarea-commerce%2Fworkarea-forter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/workarea-commerce%2Fworkarea-forter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/workarea-commerce%2Fworkarea-forter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/workarea-commerce","download_url":"https://codeload.github.com/workarea-commerce/workarea-forter/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/workarea-commerce%2Fworkarea-forter/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31987877,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-18T20:23:30.271Z","status":"ssl_error","status_checked_at":"2026-04-18T20:23:29.375Z","response_time":103,"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":[],"created_at":"2024-11-16T20:31:50.115Z","updated_at":"2026-04-18T22:33:18.049Z","avatar_url":"https://github.com/workarea-commerce.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"Workarea Forter\n================================================================================\n\nForter fraud protection for the Workarea platform that offers guarantees against charge-backs for eligible transactions.\n\nThis solution currently works for a pre-authorization model of payment, meaning that funds are authorized at checkout then captured at a later date, usually when the product ships.\n\nPayments use the following flow:\n1. A user enters their payment in checkout.\n2. The payment is authorized.\n3. An API call is made to Forter.\n  + On approval or no-decision the order is placed as usual.\n  + On decline the authorized payments are voided and a message is displayed to the user.\n\nThis plugin is compatible with following Workarea supported payment types:\n+ Credit Cards\n+ Paypal\n+ Gift cards\n+ Store credit\n\nPayment types not in this list will still function but are not eligible for fraud protection.\n\nGetting Started\n--------------------------------------------------------------------------------\n\nAdd the gem to your application's Gemfile:\n\n```ruby\n# ...\ngem 'workarea-forter'\n# ...\n```\n\nUpdate your application's bundle.\n\n```bash\ncd path/to/application\nbundle\n```\n\nConfiguration\n--------------------------------------------------------------------------------\nAdd the secret key to your secrets file:\n\n```\nforter:\n  secret_key: XXXXXXXX\n```\n\nAdd the site ID to an initializer file in your host app:\n\n```ruby\n  Workarea.config.forter.site_id = nil\n```\n\nYou can specify which version of the API via configuration:\n\n```ruby\n  Workarea.config.forter.api_version = \"2.4\"\n```\n\nIf no API version is configured the default of **2.2** will be used.\n\nSetting a configuration value for ```credit_card_gateway_name``` value will improve the decision accuracy. This is the name of the credit card processor used by the host application.\n\n```ruby\n  Workarea.config.forter.credit_card_gateway_name = \"Stripe\"\n```\n\nImplementation Notes\n--------------------------------------------------------------------------------\n**Verifcation Data**\n\nForter relies on verification data returned from the credit processor when validating credit card transactions. This data can vary by credit card processor.\n\nBe sure to test that the following data is sent in the **verificationResults**  hash sent with each credit card:\n```\n  {\n      \"avsFullResult\": \"\",\n      \"cvvResult\": \"\",\n      \"avsNameResult\": \"\",\n      \"authorizationCode\": \"\",\n      \"processorResponseCode\": \"\",\n      \"processorResponseText\": \"\"\n  }\n```\n**Rolling Back Fraud Transactions**\n\nCredit card authorizations are voided when a transaction is deemed to be fraudulent. The void action relies on the #cancel! method implemented on each tenders authorization class. It is very important to implement and test this method when creating a new payment type.\n\nWorkarea Commerce Documentation\n--------------------------------------------------------------------------------\n\nSee [https://developer.workarea.com](https://developer.workarea.com) for Workarea Commerce documentation.\n\nLicense\n--------------------------------------------------------------------------------\n\nWorkarea Forter is released under the [Business Software License](LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fworkarea-commerce%2Fworkarea-forter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fworkarea-commerce%2Fworkarea-forter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fworkarea-commerce%2Fworkarea-forter/lists"}