Authorize.net

Retrieve or create your API keys from the Gateway

You will need your API Key and your Transaction ID. You can create/retrevie those on the Authorize.net Portal > Account > API Credentials and Keys

Copy these to a separate document so you can reference them in a later step/

External Credentials

To create the first credential:

  1. Navigate to Setup > Named Credentials.

  2. Click the External Credentials tab.

  3. Click New.

  4. Enter the following values:

  5. Label and Name: AuthorizeExternal

  6. Authentication Protocol: Custom

  1. Click Save.

  2. In the credential record, scroll down to locate the Principals section and click New to create a new Principal record. Add the following values:

  3. Parameter name: keys

  4. Sequence Number:

  • Click Add to add an Authentication Parameter. Add the following values:

    1. Name: name

    2. Value: Your Authorize.net API Key

  • Click Add again to add a second Authentication Parameter. Add the following values:

    1. Name: transactionKey

    2. Value: Your Authorize.net Transaction Key


  • Click Save.

Named Credentials

From Setup, navigate to Named Credentials.

In the Named Credentials tab

  1. Click New and complete the following field values:

    1. Label and Name: ‘authorize’.

    2. URL field:

      1. Depends on whether you are accessing the Production Environment of the Gateway, or the Sandbox environment:

        1. Production: https://api.authorize.net/xml/v1/request.api

        2. Sandbox: https://apitest.authorize.net/xml/v1/request.api

    3. Enabled for Callouts: true.

    4. For the External Credential, select the ‘authorizeExternal’ credential you previously created.

    5. Select all Callout Options.

    6. Allowed Namespaces for Callouts: ‘paytram’.

  2. Click Save.

  3. In the newly created record, scroll down to the Custom Headers section and click New.

  4. Complete the following field values:

    1. Name: Content-Type

    2. Value: application/json

    3. Sequence Number: 1

  5. Click Save.

Now create the second Named credential.

From the Named Credentials tab:

  1. Click New and complete the following fields:

    1. Label and Name: ‘authorizePaytram’

    2. URL: https://gateway.paytram.io

    3. Enable for Callouts: true

    4. For the External Credential, select the ‘AuthorizeExternal’ external credential you previously created.

    5. Select all Callout Options.

    6. Allowed Namespaces for Callouts: ‘paytram’.

Click Save.

Permissions

Continue to set permissions

Last updated