Download the PHP package omnifraud/signifyd without Composer
On this page you can find all versions of the php package omnifraud/signifyd. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download omnifraud/signifyd
More information about omnifraud/signifyd
Files in omnifraud/signifyd
Package signifyd
Short Description Signifyd driver for the Omnifraud PHP fraud prevention library
License MIT
Informations about the package signifyd
Omnifraud: Signifyd
Signifyd driver for the Omnifraud PHP fraud prevention library
Omnifraud is an fraud prevention livrary for PHP. It aims at providing a clear and consisten API for interacting with different fraud prevention service.
Installation
Usage
The Signifyd fraud service driver implements the following methods:
trackingCode
,validateRequest
, updateRequest
, getRequestExternalLink
, cancelRequest
.
The only method that is left empty is logRefusedRequest
as it is not a needed for Signifyd.
Initialisation
The SignifydService constructor accepts the following configuration values (these are the default values):
NOTE: Anything supported by the official SignifydSettings class can be passed a config
Submitting a sale
You can use the validateRequest
to submit a request, method to get an async response that will need to be updated later.
Signifyd recommends sending as much fields as possible, take a look at this example to learn about all the fields.
Refreshing a case
Signifyd always answers with an Async response, so you will need to refresh the request in order to get the answer, this is best done by queueing a job.
You can also use this method to get the request result later on (for example if you sent it for manual evaluation).
NOTE: The response from updateRequest can still be async, if this is the case, it means you have to retry later.
Cancelling a Guarantee
If you are refunding or cancelling an order, it is a good idea to cancel the guarantee as Signifyd will refund the fee.
Session id (or Device Fingerprint)
You implement the frontend code in order to track devices pre-purchase.
Then you will need to add the sessionId to the request:
Linking to a case
In order to get the link to view a case on Signifyd, you just need the UID: