Download the PHP package imaginationmedia/aws-fraud-magento2 without Composer

On this page you can find all versions of the php package imaginationmedia/aws-fraud-magento2. 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 aws-fraud-magento2

Amazon Fraud

Amazon Fraud for Magento 2

Amazon Fraud for Magento 2

Magento Innovations Lab Partners With Amazon Web Services (AWS)

Magento Innovation Labs it's a program that allows the community to show creative and innovative solutions for e-commerce, using the Magento platform. Every year a new round is available for the Magento community to create and show how is possible to innovate the e-commerce industry using the flexibility that only Magento has. This integration was developed thinking about the partnership between Magento and Amazon, as one of the recommended solutions that can be integrated with Magento. For more info please check https://magento.com/blog/magento-news/magento-innovations-lab-teams-amazon-web-services-aws

What is AWS Fraud

Amazon Fraud is a fully managed service that makes it easy to identify potentially fraudulent online activities such as online payment fraud and the creation of fake accounts.

Globally each year, tens of billions of dollars are lost to online fraud. Companies conducting business online are especially prone to attacks from bad actors who often exploit different tactics such as creating fake accounts and making payments with stolen credit cards. Companies typically use fraud detection applications to identify fraudsters and stop them before they cause costly business disruptions. However, these applications often rely on business rules that don’t keep up with the changing behaviors of fraudsters. More recent fraud detection applications have tried to use machine learning. But, they frequently use a one-size-fits-all approach based on general data sets and fraud behaviors that aren't specific to your business, which limits their accuracy.

Installation

Install using composer:

You will also need to create a new AWS Fraud project in your AWS console, you start using this link.

How it works with Magento

AWS Fraud will validate when a customer tries to create a new account, when he/she tries to login and also when customers are trying to checkout as guests.

This Magento integration will get the customer email address and ip, and using this information we will validate on AWS Fraud what's the probability of this customer be a fraud. In case it's higher than the limit we set on Magento admin, it will automatically deny the login/account creation and also decline the guest checkout.

Also on admin you can access a customer account and there is a tab where you can see the probability a customer is a fraud account. If a customer is set as fraud he/she won't be able to login and checkout anymore.

How to start

You basically need to go through five steps:

The historical fraud dataset is a csv file with email addresses, ips and the fraud status (fraud, not_fraud etc). Using this csv file Amazon Fraud will study and learn how to identify fraud customers, and in short time it will be able to determine the probability a customer is a fraud.

Basic configuration

On Magento admin you will need to first setup the basic configuration, used to create the connection to AWS Personalize.

Basic configuration

Enable is used to enable/disable the fraud validation. Profile is the AWS profile that you have in your environment/server that's going to be used to connect to AWS. Check this guide for more info. Version is the web service version that you are going to use. Use latest as the value, to use always the latest version. Region is the region where you created your AWS Personalize instance. Detector ID is the ID of the fraud detector that you created in your AWS account. Event ID is the event that you enabled in your fraud detector. Fraud Rate is the minimum rate that we will consider a customer as a fraud account. If the probability reaches this value we will automatically block the user to proceed. In general if a customer reaches a probability of 80% we can say it's a fraud customer.

Demos:

Checking fraud probability on Magento admin and blocking a fraud customer to login:

https://www.loom.com/share/c6d9f951367643348c75cd31bf33b207

Preventing a fake user to create a new account

https://www.loom.com/share/a6a7536001844511ab06f3fe9eb919d2

Declining a fake user to checkout as a guest

https://www.loom.com/share/9c895bce8f50464cbf529271d7c2eddf


All versions of aws-fraud-magento2 with dependencies

PHP Build Version
Package Version
Requires aws/aws-sdk-php Version ^3.130
magento/framework Version >=102.0
magento/module-catalog Version >=100.3
magento/module-customer Version >=100.3
magento/module-quote Version >=100.3
magento/module-sales Version >=100.3
php Version >=7.2
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 imaginationmedia/aws-fraud-magento2 contains the following files

Loading the files please wait ....