TABLE OF CONTENTS
- Introduction
- Steps to set up Authorize.net in the Znode admin application
- Settings for Authorize.net Payment Gateway
- Payments using Authorize.Net
Introduction
Navigate to: Admin > Payment Methods > Add Payment Method
Currently, the Authorize.Net payment method is directly integrated with Znode which requires the payment processing to be done via Znode. The dependency on Znode has been reduced by introducing an iframe tokenizer to process the payment information. This makes Znode furthermore efficient and secure.
Steps to set up Authorize.net in the Znode admin application
Step 1: Navigate to Admin >> Payment Method in the Znode admin application
Step 2: Click on Add New to create a new Payment Method.
Step 3: Select a Credit card as the Payment Type and add the required inputs for the other fields under General Settings.
Step 4: Select Authorize.net as the payment gateway and add the required inputs for the other fields under Merchant gateway settings.
Settings for Authorize.net Payment Gateway
Authorize.net General Settings
Field | Description |
Select a payment type | Type of Payment for which the Payment Method needs to be created. |
Payment Code | Unique code identifies the Payment Method |
Payment Display Name | Name that the admin user wants to display on the checkout page. |
Display Setting | If this field is checked, the payment method will be displayed on the checkout page. |
Hide Billing Adress | If this field is checked then the billing address form will not be displayed on the checkout page. |
Display Order | This determines the order in which the Payment Method is displayed. This field accepts the only positive numeric value. |
Authorize.net Merchant Gateway Settings
Filed | Description |
Select A Gateway | Gateway for which the Payment Method must be created. (Select Authorize.net) |
Select Gateway Mode | Gateway modes: Test Mode- This can be used for testing purposes. In test mode, all the process remains the same as in live mode. The payment-related data which is entered during checkout doesn't need validation. Live Mode - Live mode is used for the production environment. The payment-related data (e.g. Credit card details) provided on live mode needs to be valid. |
Credit Card Authorization | If this field is checked then the transaction will be authorized. |
Display Capture in OMS | If this field is checked then the capture button will be displayed while managing the order. |
Note: After adding the Payment Method it needs to be associated with the store in order to use the newly added payment method.
Configuring Authorize.net
iframe Integration was introduced in the 9.7.3 release. Payment processing: Accept payments anywhere | Authorize.net. There are 2 new Payment API keys that were introduced with this implementation, details are below.
- AuthorizeNetIFrameUrl
- AuthorizeNetIFrameUrl holds the value of the Iframe URL and for live mode/Production this value should be “https://accept.authorize.net/payment/payment”
- IsSandboxAuthorizeNetAccount
- IsSandboxAuthorizeNetAccount is the bool type and should be set to false for live mode/Production (this was set to true hence live mode was not working)
Payments using Authorize.Net
Adding a new card for making payments
- After selecting the Authorize.Net payment option, if no card is saved for the user account, then add the card details section (an iframe section) appears along with the Save this credit card for future use field outside the iframe.
Note: Save this credit card for future use fields are shown only for Orders which are placed or are being placed for registered users and for Quotes. - The iframe should load the Authorize.Net payment section which can be used by administrators or customers (shoppers) to add card details that can be used to make payments while placing/managing an Order or while converting a Quote to an Order from the admin application or web store.
- When card details are added to the Authorize.Net iframe, a token is generated. If a user selects the Save this credit card for future use field, the last 4 digits of the card along with the token (or Account/Profile ID whatever is provided by the gateway) are saved in Znode so that the card can be used for making future payments.
Select a saved card for making payments
- After selecting the Authorize.Net payment option, if at least one card is saved for the user account, then a section to select a saved card and another section to add the payment details appear.
- Administrators or customers (shoppers) can select a saved card to make payments while placing/managing an Order or while converting a Quote to an Order from the admin application or web store.
- The saved last 4 digits of the card and the generated token (or Account/Profile ID whatever is provided by the gateway) are used to make payments via Authorize.Net.
Important Note: The Admin and Webstore applications for Authorize.net must be hosted on IIS because Authorize has discontinued support and is now throwing issues in the local host environment. As a result, we will need to host the application in IIS for any development or testing.