In this blog post, I will be walking you through how to setup and configure Authorize.Net payment processing in Adxstudio.

There are four prerequisites that you have to ensure are in place as defined in Adxstudio documentation:

  1. An Authorize.net test account or a merchant account
  2. SSL certificate
  3. A public website
  4. Product records defined in Dynamics CRM

Creating an Authorize.Net Test Account

  1. Navigate to https://developer.authorize.net/testaccount/ to start creating an authorize.net test account.

create an authorize.net test account

 

  1. Fill out all the required information and click on the “Submit” button. Your Authorize.net account will get created and you will be presented with API credentials.

create-an-authorize-net-test-account-2

N.B: Note down the API Credentials as you’ll need them later while configuring Adxstudio Ecommerce related “Site Settings”.

Configuring Authorize.Net Sandbox Account

  1. Navigate to https://sandbox.authorize.net/, provide login credentials to your account and click on the “Log In” button.

authorize-net

Click on the “GOT IT” button to dismiss the reminder window.

get-started-accepting-payments

 

  1. To start configuring MD5-Hash, click on the “Settings” link found under “ACCOUNT” on the left side navigation links.

account-configuration

 

  1. Click on the “MD5-Hash” link found under “Security Settings”.

security-settings

 

  1. Provide values for “New Hash Value” and “Confirm Hash Value” fields, then click on the “Submit” button.

N.B: Remember to note down the value you provide as the MD5-Hash value (This will be required while configuring Adxstudio Ecommerce “Site Settings”.)

md5-hash

If the hash setting is successfully applied, you’ll be notified with the message below.

md5-hash-2

 

Configuring Site Settings for Ecommerce

  1. Navigate to the CRM instance where you want to configure Authorize.Net payments.
  2. Click on the “Portals” in the web application navigation and click on the “Site Settings” navigation item.

configure-site-settings-for-ecommerce

  1. Create/Edit “Ecommerce/Authorize.Net/ApiLogin” site setting record. Use the “API Login” information you noted down in a previous step.

ecommerce-api-login

  1. Create/Edit “Ecommerce/Authorize.Net/MerchantHash” site setting record. Use the “MD5-Hash” value you noted down previously.

ecommerce-api-login-2

  1. Create/Edit “Ecommerce/Authorize.Net/TransactionKey” site setting record. Use the “Transaction Key” value you noted down previously.

ecommerce-api-login-3

  1. Create/Edit “Ecommerce/PaymentProvider” site setting record. Specify “Authorize.Net” as the value for this setting.

ecommerce-api-login-4

  1. Create/Edit “Ecommerce/PaymentTestModeEnabled” site setting record. As we are testing this against Authorize.Net sandbox.

We will set the value of this site setting to “true”.

ecommerce-api-login-5

Testing Authorize.Net Payments

I will not be covering setting up products and shopping cart in this blog post. Information on setting up shopping card could be found below.

I have already completed above three tasks to keep this blog post simple, therefore I will start from the checkout page where I have already added a product to be paid using Authorize.Net.

  1. Screenshot below is from the last step (Purchase Summary) before a payment is processed. Click on the “Next” button in the Purchase Summary screen.

checkout

  1. The browser will be redirected to the Payment page of the portal. Test credit card information will be automatically populated, and you will be notified that the “Payment test mode” is enabled via a message in this form.

Click on the “Next” button to submit the payment information to Authorize.Net.

test Authorize.Net Payment in Adxstudio

Your payment will be processed via test.authorize.net.

checkout-3

And you will be notified if the payment is successful with a message similar to the one below.

checkout-4

 

I hope that this post will help you in quickly configuring Adxstudio portal with Authorize.Net. If you have any questions or issues that you face while setting up Authorize.Net payments in Adxstudio, feel free to comment on this post.

Until I meet you with another blog post, keep on watching this space for many interesting blogs from us.