Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/solidusio-contrib/solidus_signifyd
Solidus integration for the Signifyd fraud check service.
https://github.com/solidusio-contrib/solidus_signifyd
ecommerce extension fraud-check payments signifyd solidus
Last synced: about 1 month ago
JSON representation
Solidus integration for the Signifyd fraud check service.
- Host: GitHub
- URL: https://github.com/solidusio-contrib/solidus_signifyd
- Owner: solidusio-contrib
- License: bsd-3-clause
- Created: 2015-05-26T18:47:34.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2022-08-02T07:12:20.000Z (over 2 years ago)
- Last Synced: 2024-12-20T14:33:04.493Z (about 2 months ago)
- Topics: ecommerce, extension, fraud-check, payments, signifyd, solidus
- Language: Ruby
- Homepage:
- Size: 190 KB
- Stars: 5
- Watchers: 6
- Forks: 17
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
Solidus Signifyd
================[![CircleCI](https://circleci.com/gh/solidusio-contrib/solidus_signifyd.svg?style=svg)](https://circleci.com/gh/solidusio-contrib/solidus_signifyd)
Integration with Signifyd that implements a fraud check prior to marking a
shipment as ready to be shipped.* All orders are sent to SIGNIFYD for scoring when they transition to complete.
* Risk analysis is returned from SIGNIFYD via a webhook and added to order.
* Orders with a risk score >= 500 (default review disposition threshhold)
- Paid orders are marked ready to ship.
* Orders with a risk score < 500
- Are cancelled.
- Risk analysis is displayed in admin.Installation
------------In your Gemfile:
```ruby
gem "solidus_signifyd"
```Bundle your dependencies and run the installation generator:
```shell
bundle
bundle exec rails g solidus_signifyd:install
```Create a SIGNIFYD test team within the SIGNIFYD account. The API key is listed on the Teams page after a team has been created.
Create SIGNIFYD notifications for each event type and provide your
`api_solidus_signifyd_orders_path`. To work with external webhook in local
development you may need to change the rails server [default host] and enable
port forwarding or setup a reverse SSH tunnel.```
http://www.example.com/api/solidus_signifyd/orders
```Cases can be inspected in the SIGNIFYD web console.
Configuration
-------------### api_key
Type: `string`
SIGNIFYD team API key.
### exclude_store_credit_orders
Type: `boolean`
Default: `false`By default, even orders which are fully paid with store credit are sent to
SIGNIFYD. Since this could result in unnecessary charges to a user who is on a
"flat rate" plan, we provide the option to skip these orders.### signifyd_score_threshold
Type: `integer`
Default: `500`Automatic approval is granted to orders which have a good "reviewDisposition" or
have a score greater than the `signifyd_score_threshold`.Risky Orders
------------Flagging a case as bad in the SIGNIFYD web console will associate
a fraudulent case with the order's email. This will cause future orders to drop
below the `reviewDisposition` threshhold of 500 and allow you to inspect a
risky order.Testing
-------First bundle your dependencies, then run `rake`. `rake` will default to
building the dummy app if it does not exist, then it will run specs. The dummy
app can be regenerated by using `rake test_app`.```shell
bundle exec rake
```[default host]: http://guides.rubyonrails.org/4_2_release_notes.html#default-host-for-rails-server