How to install the Axur Cardstream integration through Azion Marketplace

Axur Cardstream is an integration that helps you protect your e-commerce from fraud even on the first purchase and, consequently, avoid the chargeback.

It’s a global list of cards leaked on the Internet, as well as the deep and dark web. With the API active, every time your client makes a purchase, you can check if the card has been exposed, request additional verification, or even cancel the transaction.


Requirements

To start using this integration, you need to:


Getting the integration

To install this integration:

  1. Access Azion Console > Marketplace.
  2. On the Marketplace homepage, select the Cardstream card.
  3. On the integration page, click the Install button.

You’ll see a message indicating that your integration was successfully installed.


Configuring the integration

Once you’ve installed the Axur Cardstream integration, you’ll need to complete the steps explained below to configure it.

Setting up an edge firewall

Follow the steps:

  1. On the upper-left corner, open the Products menu and select Edge Firewall in the Secure section.
  2. Click the + Edge Firewall button.
  3. Give an easy-to-remember name to your edge firewall.
  4. Enable the Edge Functions switch in the Modules section.
  • This action gives access to edge functions on your edge firewall.
  1. Click the Save button.

Done. Now you’ve instantiated the edge firewall for your function and have access to edge functions on your edge firewall.

Setting up the Edge Firewall function

While still on the Edge Firewall page:

  1. Select the Functions Instances tab.
  2. Click the + Function Instance button.
  3. Give an easy-to-remember name to your instance.
  4. On the dropdown menu, select the Axur Cardstream function.
  5. In the Arguments box, pass your variables:
{ "card_number_field": "cc_number", "api_key": "YourAxurAPIKey",
}

Where:

VariableMandatoryDescription
card_number_fieldYesThe number of the credit card used in the transaction
api_keyYesThe API Key of your Axur account
  1. Click the Save button.

Setting up the Rules Engine

To finish, you must set up a rule in Rules Engine to configure the criteria and the behavior to run the function.

Still in the Edge Firewall page:

  1. Select the Rules Engine tab.
  2. Click the + Rule Engine button.
  3. Give an easy-to-remember name to the rule.
  4. Select a criteria to run and catch the domains that you want to run the integration on.
  • Example: if Host matches yourdomain.com.
  1. Below, select a behavior to the criteria. In this case, it’ll be Run Function.
    • Select the adequate function according to the name you gave it in the instantiate step.
  2. Click the Save button.

On the Console, you must now configure your domain so it is protected by your Edge Firewall.

  1. On the Products menu, select Domains.
  2. Click on the domain you want to protect with your Cardstream function.
  3. In the Settings section, click on the Edge Firewall selector and choose the Edge Firewall you’ve just created.
  4. Click the Save button.

Done. Now the Axur Cardstream integration is running.


Contributors