Download the PHP package thelia/oneytrust-score-module without Composer

On this page you can find all versions of the php package thelia/oneytrust-score-module. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package oneytrust-score-module

Oneytrust Score

Oneytrust score allow you to evaluate your customers according to the Oneytrust DB to reduce the chance of being frauded.

Installation

Manually

Composer

Add it in your main thelia composer.json file

Usage

Configuration :

NB1 : You need an account and site IDs provided by Oneytrust for this module to work with your website.

NB2 : If you use a delivery module that isn't DpdPickup, Colissimo, soColosimmo or LocalPickup, you'll need to edit the code and add them to the getDeliveryType method in OneytrustManager.php

--

You first need to go to the module configuration page. You can find it by clicking on the cog button on the right of the module name in the module list page, then by clicking on the wrench. Fill out the form correctly then save with th button on the top right.

Configuration example : https://i.imgur.com/p7yAeCr.png

The rest is automatic. The customers informations will be sent when they pay their order. You can see a review of all actual paid order by clicking on the "Oneytrust" button in the order list of Thelia Backoffice. It'll display a list of all orders that needs to be taken care of with these informations :

Commande : The order Reference. Clicking on it will send you to this oder page

Nom du client : The order customer. Clicking on it will send you to this customer page

Date : The date at which the order as passed. Clicking on it will redirect you to the Oneytrust page about this order

Montant : The order total price

Informations Oneytrust : The order status, followed by the score it got at the evaluation between parenthessis, followed by the reason it got this mark. Displays an error message in case of an error.

Loop

[oneytrust.loop]

Input arguments

Argument Description
orderids The list of order IDs you wish to select in your loop.

Output arguments

Variable Description
$COMMANDE_ID The order ID
$COMMANDE_REF The order reference
$COMMANDE_DATE The date at which the order was passed
$COMMANDE_PRICE The order price
$CUSTOMER_ID The customer ID
$CUSTOMER_NAME The customer name
$STATUS The status of the order
$MESSAGE Informations about the status of the order

Example

`


All versions of oneytrust-score-module with dependencies

PHP Build Version
Package Version
Requires thelia/installer Version ~1.1
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package thelia/oneytrust-score-module contains the following files

Loading the files please wait ....