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:
- Navigate to Setup > Named Credentials. 
- Click the External Credentials tab. 
- Click New. 
- Enter the following values: 
- Label and Name: AuthorizeExternal 
- Authentication Protocol: Custom 

- Click Save. 
- In the credential record, scroll down to locate the Principals section and click New to create a new Principal record. Add the following values: 
- Parameter name: keys 
- Sequence Number: 
- Click Add to add an Authentication Parameter. Add the following values: - Name: name 
- Value: Your Authorize.net API Key 
 
- Click Add again to add a second Authentication Parameter. Add the following values: - Name: transactionKey 
- Value: Your Authorize.net Transaction Key  
 
- Click Save. 
Named Credentials
From Setup, navigate to Named Credentials.
In the Named Credentials tab
- Click New and complete the following field values: 
- Label and Name: ‘authorize’. 
- URL field: - Depends on whether you are accessing the Production Environment of the Gateway, or the Sandbox environment: - Production: https://api.authorize.net/xml/v1/request.api 
- Sandbox: https://apitest.authorize.net/xml/v1/request.api 
 
 
- Enabled for Callouts: true. 
- For the External Credential, select the ‘authorizeExternal’ credential you previously created. 
- Select all Callout Options. 
- Allowed Namespaces for Callouts: ‘paytram’.  
 
- Click Save. 
- In the newly created record, scroll down to the Custom Headers section and click New. 
- Complete the following field values: 
- Name: Content-Type 
- Value: application/json 
- Sequence Number: 1 
  
- Click Save. 
Now create the second Named credential. 
From the Named Credentials tab:
- Click New and complete the following fields: 
- Label and Name: ‘authorizePaytram’ 
- URL: https://gateway.paytram.io 
- Enable for Callouts: true 
- For the External Credential, select the ‘AuthorizeExternal’ external credential you previously created. 
- Select all Callout Options. 
- Allowed Namespaces for Callouts: ‘paytram’.  
 
Click Save.
Permissions
Continue to set permissions
Last updated