Shopping cart

How to Configure Payment Methods in Magento 2

magento-2-tutorial
payment-method
How to Configure Payment Methods

In this tutorial, I will show you how to configure default Payment Methods in Magento 2. They are Check Money Order, Bank Transfer, Cash On Delivery, Purchase Order, Zero Subtotal Checkout , PayPal Express Checkout, Authorize.Net Direct Post and latest one Braintree.

1. Configure Braintree Payment Method

braintree

Braintree is a full-stack payment platform which allows your customers to check out by accessing to credit and debit cards, PayPal, Apple Pay, Android Pay, Venmo, Bitcoin, and more. With Braintree platform, you can easily accept payment from app or website. Noticing that Braintree Payment Method can only be used with your store only when Magento Secure Payment Bridge is enabled and configured correctly. Moreover, though it is announced that Braintree can be used for all kinds of organization, there are still some types of business which are not supported and Braintree is only available for merchants from eight countries: United States, Canada, Australia, Europe, Singapore, Hong Kong, Malaysia, and New Zealand. In the end, to set Braintree payment method in your Magento store, you may want to find more details about Braintree and their acceptable use policy at their site before starting the configuration.

Configure Braintree Payment Method in Magento 2

Step 1: Start the Braintree Payment Method Configuration

  • On the Admin sidebar, choose Stores > Settings > Configuration.
  • In the panel on the left, click Sales > Payment Methods.
  • Click to expand the Braintree section then click on the Configure button to start the configuration.

Braintree Payment Method

Step 2: Set options for Basic Braintree Settings

  • In the Basic Braintree Settings section, go to Braintree Payments to log in or sign up for a new account or click on Click here to login to your existing Braintree account Or click here to signup for a Braintree account and get your credentials.
  • In the Title field, enter a new title or leave the default of “Credit Card (Braintree)”.
  • In the Environment field, set “Sandbox” to configure in the test environment or set “Production” when you ready to go live.
  • In the Payment Action field, select “Authorize Only” to approve the purchase, but put a hold on the funds to waiting for being captured by the merchant or “Authorize and Capture” to imply that the purchase is already authorized and can be withdrawn from the customer’s account at once.
  • In the Merchant Account ID, Merchant ID, Public Key and Private Key fields, Enter the credentials from your Braintree account.
  • Set Enable this Solution to “Yes” to activate Braintree payment method.
  • Set Enable PayPal through Braintree to “Yes” to include PayPal as a payment option with Braintree.
Magento 2.0

Braintree Payment Method

Magento 2.1

Braintree Payment Method 2.1.5

Step 3: Set options for Advanced Braintree Settings

  • Set Debug to “Yes” to save a log file of interactions between your store and Braintree.
  • In the Capture action field, choose “Invoice” to create an invoice when the payment is captured or “Shipment” to create invoice and shipment record when the payment is captured and change the status of the order to “Authorized”.
  • In the New Order Status field, set “Processing” or “Suspected Fraud”.
  • Set Use Vault to “Yes” to store customer credit card information in the Braintree vault.
  • The Allow Duplicate Cards field is set to “No” by default. You can change this setting at your discretion.
  • Set CVV Verification to “Yes” to require customers to provide the 3-digit security code from the back of a credit card. If you want to use CVV verification, make sure to enable AVS and/or CVV in the Settings/Processing section of your Braintree account.
  • In the Credit Card Types list, choose the types of the credit card which are accepted by your store as payment through Braintree.
  • Set Enable Credit Card auto-detection on Storefront to “Yes” to detect the credit card type when the customer enters the number.
  • Set Advanced Fraud Protection to “Yes” to apply Braintree fraud protection to transactions. Make sure that Advanced Fraud Protection is enabled in the Settings/Protection section of your account.
  • Set Use Cache to “Yes” to improve performance by caching some results. Notice that the Magento cache must be is enabled to use the cache with Braintree.
  • In the Sort Order field, enter a number to determine the position of Braintree Payment Method in the list of payment methods that is shown on the checkout page (start from 0).
Magento 2.0

Braintree Payment Method

Magento 2.1

This Magento version updates 2 more configs.

  • Fill in the Vault title.
  • Enter the credentials from your Braintree account into the Merchant Account ID field.

Imgur

Step 4: Set options for Country Specific Settings

  • In the Payment from Applicable Countries field, choose “All Allowed Countries” to accept Braintree Payment Method for customers from all countries specified in your store configuration or “Specific Countries” to approve this payment method for some definite countries which you select from the Payment from Specific Countries list.
  • In the Country Specific Credit Card Types section:
    • Click on the Add button.
    • Select the Country and choose the Allowed Credit Card Type from the list.
    • Repeat to identify the credit cards that are accepted from each country.

Braintree Payment Method

Step 5: Set options for PayPal through Braintree Settings

  • In the Title field, enter a new title or leave the default of “PayPal (Braintree)” to display Braintree’s payment by PayPal on the checkout page.
  • In the Sort Order field, enter a number to determine the position of Braintree’s payment by PayPal in the list of payment methods that is shown during checkout (start from 0).
  • In the Override Merchant Name field, enter the name as you want it to appear to display your merchant name differently than what is specified in your store configuration.
  • In the Payment Action field, set “Authorize” to approve the purchase, but puts a hold on the funds to waiting for being captured by the merchant or “Authorize and Capture” to imply that the purchase is already authorized and can be withdrawn from the customer’s account at once.
  • In the New Order Status field, set “Processing” or “Suspected Fraud”.
  • In the Payment from Applicable Countries field, choose “All Allowed Countries” to accept Braintree’s payment by PayPal for customers from all countries specified in your store configuration or “Specific Countries” to approved this payment method for some definite countries which you select from the Payment from Specific Countries list.
  • Set Require Customer’s Billing Address to “Yes” to require that customers provide a billing address.
  • Set Display on Shopping Cart to “Yes” to display the PayPal button in the mini shopping cart and on the shopping cart page.
  • Set Allow to Edit Shipping Address Entered During Checkout on PayPal Side to “Yes” to enable customers to edit the shipping address while completing a PayPal transaction.
  • Set Debug to “Yes” to save a log file of interactions between your store and PayPal through Braintree.
Magento 2.0

Braintree Payment Method

Magento 2.1

Braintree Payment Method

Step 6: Set options for 3D Verification Settings

  • Set 3d Secure Verification to “Yes” to add a verification step for customers using credit cards that are enrolled in a verification program such as Verified by VISA.
  • Click Save Config button in the upper-right corner when you are done.
Magento 2.0

Braintree Payment Method

Magento 2.1

There are 3 more options:

  • Set the Threshold amount.
  • Choose to verify for Applizable Countries or for Specific Countries.

Braintree Payment Method

Step 7

This section is ONLY available in Magento 2.1.

Basically, Dynamic Descriptors is the custom descriptor configured and passed with each transaction via the API. In this section, there are 3 options to fill the Name, Phone and URL of the description.

Braintree Payment Method

2. Configure PayPal Express Checkout Payment Method

Paypal

PayPal Express Checkout Payment Method is the most convenient payment method on the internet nowadays. It is confirmed that integrating PayPal on your store can increase conversion rate twice and raise the overall customers up to 29%. PayPal is trusted and used widely for its fast checkout; utility when accepting debit card, credit card and almost currencies in the world; as well as absolute security. For all the reasons above, PayPal Express Checkout appear on every online store. To manage PayPal Express Checkout Payment Method on your Magento website, let’s follow the steps below.

PayPal Express Checkout

Configure PayPal Express Checkout Payment Method in Magento 2

Step 1: Prepare PayPal Account

Before integrating PayPal to your store, you should configure your PayPal account to take the information of your PayPal account ID, your email address, your API username, your API password, and your API signature.

  • First thing overall is working with merchant account:
  • Go to manager.paypal.com and log in to your account or sign up for a new merchant account.
  • Click Service Settings > Hosted Checkout Pages > Set Up, then set AVS field to “No”, CSC field to “No” and Enable Secure Token to “Yes”.
  • Click Save.
  • Next, you will be recommended to add another user to your account. Then,
  • Log into your account again in man ager.paypal.com.
  • Follow PayPal guidance to get an additional user.
  • Click Save.
  • Click on Required PayPal Settings and set the options for the section.
  • In the Email Address field, type the exact email which is used to sign up your PayPal merchant account.
  • In the API Authentication Methods field, select “API Signature” or “API Certificate”.
  • Credentials from PayPal is an optional section, complete it if needed.
  • Set Sandbox Mode to “Yes” in case you are using credentials from your sandbox account. Then, click Sandbox Credentials and follow the instructions to set up your testing environment if needed.
  • If your system uses a proxy server to establish the connection between Magento and the PayPal payment system, set API Uses Proxy to “Yes” and complete the Proxy Host and Proxy Port fields.
  • After finishing all sections above, set Enable this Solution to “Yes”.
  • If you want to offer financing through PayPal to your customers, go to PayPal Credit to learn more. As the Basic and Advanced Settings can be configured later, click Save config and start to work with Magento site.

Step 2: Prepare for PayPal Express Checkout Configuration

This step is used to build basement for configuring PayPal Express Checkout.

  • On the Admin sidebar, choose Stores > Settings > Configuration.
  • In the panel on the left, click Sales > Payment Methods.
  • If you install multiple websites, stores or views, choose Store View in the upper-left corner where the configuration applies.
  • Click Merchant Location and set your country to Merchant Country field. If this field is left blank, Default Country from General Config will be used.
  • Choose PayPal All-In-One Payment Solutions or PayPal Express Checkout to click Configure. PayPal Express Checkout

Step 3: Set options for Required Settings

In Magento 2, you can choose to use PayPal Express Checkout or PayPal All-In-One solution. Once you configure a solution, the other is automatically deactivated. Both PayPal Express Checkout and PayPal All-In-One solution have three part of setting: Required settings, Basic settings and Advanced settings, therefore the guidance below only consists of the PayPal Express Checkout.

  • Expand the Required PayPal Settings then Express Checkout section. PayPal Express Checkout

  • In the Email Associated with PayPal Merchant Account field, enter the exact mail that is specified in your merchant PayPal account.
  • In the API Authentication Methods field, select one of the following:
  • API Signature” and fill the API Username, API Password and API Signature fields.
  • API Certificate” and fill the API Username and API Password fields. In the API Certificate field, upload a file of API Certificate to complete.
  • Click Get Credentials from PayPal or Sandbox Credentials if needed, a link to PayPal will be opened in a new window. You should log in and follow the instructions.
  • If your system uses a proxy server to connect Magento with the PayPal payment system, set API Uses Proxy to “Yes” then complete the Proxy Host and Proxy Port fields.
  • In the Enable This Solution field, choose “Yes” to activate PayPal Express Checkout.
  • In the Enable PayPal Credit field, select “Yes” to accept PayPal Credit on your store.
  • Expand the Advertise PayPal Credit section.
  • Click Get Publisher ID from PayPal and take your account ID information then fill in the Publisher ID field.
  • Expand Home Page section and set the options.
  • In the Display field, choose “Yes” to enable the banner appear on Home Page or “No” to disable it.
  • In the Position field, select the location of the banner on Home Page.
  • In the Size field, set the size of the banner to suitable with your store.
  • Do the same for the Catalog Category Page, Catalog Product Page, and Checkout Cart Page sections.

Step 4: Set options for Basic Settings

You will start to configure how PayPal Express Checkout displays in this step.

  • Click to expand the Basic Settings section.
  • In the Title field, enter a new title or leave it in default of “PayPal Express Checkout”.
  • In the Sort Order field, enter a number to determine the position of PayPal Express Checkout Payment in the list of payment methods that is shown in the checkout page (start from 0).
  • In the Payment Action field, set to one of the following:
  • Authorization” to approve the purchase, but puts a hold on the funds to waiting for being “captured” by the merchant.
  • Sale” to imply that the purchase is already authorized and can be withdrawn from the customer’s account at once.
  • Order” to show that the order is neither authorized nor captured. When “Order” is chosen, there are three more fields to complete. Note that, to change any default data in these fields, you need to contact to PayPal.
  • In the Display on Product Details Page field, select “Yes” to To display the Check out with PayPal button on the product page. PayPal Express Checkout

Step 5: Set options for Advanced Settings.

The advanced settings section includes of advanced configuration when integrating PayPal.

  • Click to expand the Advanced Settings section.
  • In the Display on Shopping Cart field, choose “Yes” to display the Check out with PayPal button in the shopping cart.
  • In the Payment Applicable From field, choose “All Allowed Countries” to accept PayPal Express Checkout for customers from all countries specified in your store configuration or “Specific Countries” to approved this payment method for some definite countries which you select from the Payment from Countries Payment Applicable From list.
  • In the Debug Modefield, set “Yes” to write communications with the payment system into the log file. The log file for PayPal Payments Advanced is payments_payflow_advanced.log.
  • Set Enable SSL Verification field to “Yes” to enable host authenticity verification.
  • Set Enable SSL Verification to “Yes” to enable host authenticity verification.
  • Set Transfer Cart Line Items to “Yes” to display a full summary of the customer’s order by line item from the PayPal site then set Transfer Shipping Options to “Yes” to include up to ten shipping options in the summary.
  • In the Shortcut Buttons Flavor field, to determine the type of image used for the PayPal acceptance button, choose “Dynamic” to display an image that can be dynamically changed from the PayPal server or choose “Static” to display a specific image that cannot be dynamically changed.
  • Set Enable PayPal Guest Checkout to “Yes” to allow customers without PayPal accounts to make purchases with this method.
  • In the Require Customer’s Billing Address field, choose “Yes” to require the customer’s billing address for all purchases; choose “No” to exclude the requirement or choose “For Virtual Quotes Only” to require the customer’s billing address for virtual quotes only.
  • In the Billing Agreement Signup field, set “Auto” to allow your customers to sign a billing agreement during the Express Checkout flow or use another method of payment; set “Ask Customer” to allow your customers to decide whether to sign a billing agreement during the Express Checkout flow or set “Never” to disable signing a billing agreement during the Express Checkout flow.
  • Set Skip Order Review Step to “Yes” to let the customer complete the transaction from the PayPal site without returning to your Magento store for Order Review. PayPal Express Checkout

  • Now you generally complete the Advanced Settings. Click Save Config to save the process or continue with three more sections below if necessary for your store.
  • Expand PayPal Billing Agreement Settings to configure Billing Agreement for customers who have already entered into a billing agreement with your company.
  • Set Enabled to “Yes” to activate PayPal Billing Agreement then complete the settings as same as the instruction for PayPal Express Checkout. PayPal Express Checkout

  • In the Settlement Report Settings section, If you have signed up for PayPal’s Secure FTP Server, enter the SFTP login credentials in Login and Password fields.
  • Set Sandbox Mode to “Yes” to run test reports before “going live” with Express Checkout on your site.
  • Complete the Custom Endpoint Hostname or IP Address field. By default, the value is: reports.paypal.com.
  • Complete the Custom Path field to show where reports are saved. By default, the value is: /ppreports/outgoing.
  • Under Scheduled Fetching, set Enable Automatic Fetching to “Yes” to generate reports according to a schedule and choose the frequency to generate the report in Schedule field. Then in the Time of Day field, set the hour, minute, and second when you want the reports to be generated. PayPal Express Checkout

  • The last section - Frontend Experience Settings, allows you to customize the appearance of your PayPal merchant pages and PayPal logos on your site.
  • In the PayPal Product Logo field, choose the size of PayPal Logo to display on your catalog pages and homepage.
  • In the Page Style field, enter the name of the page style that you want to apply to your PayPal merchant pages.
  • In the Header Image URL field, enter the URL of the image you want to appear in the upper-left corner of the payment page. The maximum file size is 750 pixels wide by 90 pixels high.
  • In the Header Background Color, Header Border Color and Page Background Color fields, enter the six-character hexadecimal code, without the “#” symbol to complete. PayPal Express Checkout

  • Click Save Config button in the upper-right corner when you are done.

3. Configure Bank Transfer Payment Method

bank transfer

Because of the flourish of Banking Industry, Bank Transfer Payment Method becomes a required payment method for every purchase in the world. Therefore, it is clear that Magento 2 allows you to configure Bank Transfer Payment Method in the admin interface. This payment method also has the feature to only permit customers from specific countries to use depending on the merchant’s bank location and requirement.

Bank Transfer Payment Method

Configure Bank Transfer Payment Method in Magento 2

Step 1: Open the Bank Transfer Payment Section

  • On the Admin sidebar, click Stores > Settings > Configuration.
  • In the panel on the left, choose Sales > Payment Methods > Bank Transfer Payment.

Step 2: Set options for Bank Transfer Payment Section

  • In the Enabled field, pick “Yes” to activate Bank Transfer Payment Method.
  • In the Title field, enter a new title to change or leave the default of “Bank Transfer Payment” to recognize the Bank Transfer Payment Method during checkout.
  • In the New Order Status field, set “Pending” for new orders to wait until receipt of payment is authorized by admin.
  • In the Payment from Applicable Countries field, choose “All Allowed Countries” to accept Bank Transfer Payment Method for customers from all countries specified in your store configuration or “Specific Countries” to approved this payment method for some definite countries which you select from the Payment from Specific Countries list.
  • In the Instructions field, enter guidance for the customer to make a Bank Transfer payment. You had better supply customers with the following information:
    • Bank account name
    • Bank account number
    • Bank routing code
    • Bank name
    • Bank address
  • In the Minimum Order Total and Maximum Order Total fields, set the order amounts required to qualify for this payment method.
  • In the Sort Order field, enter a number to determine the position of Bank Transfer Payment in the list of payment methods that is shown during checkout (start from 0).
  • Bank Transfer Payment Method

Step 3: Save the configuration

  • Click Save Config button in the upper-right corner when you are done.
  • If you are noticed to refresh the page cache, click the links in the notification, and follow the instructions.

4. Configure Cash On Delivery Payment Method

Cash On Delivery is a type of transaction in which the customer makes payment to shipping carrier when receiving the good. This payment method is popular and convenient for buyers who do not prefer online payment methods but still want to send items to a certain address. With Magento Community Edition 2.0, you can accept and adjust Cash On Delivery payments for your store. Cash On Delivery payment method is approved by admins for only customers from specific countries and recipients can make payment by cash, check or money order.

Cash On Delivery Payment Method

Configure Cash On Delivery Payment Method

Step 1: Go to the Cash On Delivery Payment Section

  • On the Admin sidebar, click Stores > Settings > Configuration.
  • In the panel on the left, choose Sales > Payment Methods > Cash On Delivery Payment.

Step 2: Complete the fields in Cash On Delivery Payment Section

  • In the Enabled field, pick “Yes” to activate Cash On Delivery Payment Method.
  • In the Title field, enter a new title to change or leave the default of “Cash On Delivery” to recognize the Cash On Delivery payment method during checkout.
  • In the New Order Status field, set “Pending” for new orders to wait until receipt of payment is confirmed by admin.
  • In the Payment from Applicable Countries field, choose “All Allowed Countries” to accept Cash On Delivery Payment Method for customers from all countries specified in your store configuration or Specific Countries to approved this payment method for some definite countries which you select from the Payment from Specific Countries list.
  • In the Instructions field, enter guidance for the customer to make a Cash On Delivery payment.
  • In the Minimum Order Total and Maximum Order Total fields, set the order amounts required to qualify for this payment method.
  • In the Sort Order field, enter a number to determine the position of Cash On Delivery in the list of payment methods that is shown during checkout (start from 0). Cash On Delivery Payment Method

Step 3: Save the configuration

  • Click Save Config button in the upper-right corner when you are done.
  • If you are noticed to refresh the page cache, click the links in the notification, and follow the instructions.

5. Configure Check Money Order Payment Method

The Check Money Order Payment Method is the replacement of credit cards for online stores that customers can pay by check or money order. This payment method is normally set as default in Magento Community Edition 2.0 and you can now accept payments by check or money order. Actually, the check money order can be determined to be only approved for some specific countries. To manage Check Money Payment Method, you can follow the steps in the guidance below.

Check Money Order Payment Method

Configure Check Money Order Payment Method

Step 1: Launch the Check Money Payment Method

  • On the Admin sidebar, click Stores > Settings > Configuration.
  • In the panel on the left, choose Sales > Payment Methods > Check / Money Order.

Step 2: Complete the fields in Check/Money Order Section

  • In the Enabled field, pick “Yes” to activate Check Money Order Payment Method.
  • In the Title field, enter a new title to change or leave the default of “Check / Money order” to recognize the Check Money Order payment method during checkout.
  • In the New Order Status field, set “Pending” for new orders to wait until receipt of payment is confirmed by admin.
  • In the Payment from Applicable Countries field, choose “All Allowed Countries” to accept Check Money Order Payment Method for customers from all countries specified in your store configuration or “Specific Countries” to approved this payment method for some definite countries which you select from the Payment from Specific Countries list.
  • In the Make Check Payable To field, enter the name of the party to whom the check must be payable.
  • In the Send Check To field, type the address or PO Box where the checks are mailed.
  • In the Minimum Order Total and Maximum Order Total fields, set the order amounts required to qualify for this payment method.
  • In the Sort Order field, enter a number to determine the position of Check / Money Order in the list of payment methods that is shown during checkout (start from 0).

Check Money Order Payment Method

Step 3: Save the configuration

  • Click Save Config button in the upper-right corner when you are done.
  • If you are noticed to refresh the page cache, click the links in the notification, and follow the instructions.

6. Configure Purchase Order Payment Method

Commercial customers can be allowed to use Purchase Order to afford for purchases with anterior authorization by referencing the PO number. This payment method is usually applied for wholesale orders. This time, we would like to guide you to set the configuration for Purchase Order payment method. Noting that before accepting payment by purchase order, you should set the credit worthiness of the commercial customer.

Purchase Order Payment Method

Configure Purchase Order Payment in Magento 2

Step 1: Go to Purchase Order tab

  • On the Admin sidebar, click Stores > Settings > Configuration.
  • In the panel on the left, choose Sales > Payment Methods > Purchase Order.

Step 2: Complete the fields in Purchase Order Section

  • In the Enabled field, pick “Yes” to activate Purchase Order Payment Method.
  • In the Title field, enter a new title to change or leave the default of “Purchase Order” to recognize the Purchase Order Payment Method during checkout.
  • In the New Order Status field, set “Pending” for new orders to wait until receipt of payment is authorized by admins.
  • In the Payment from Applicable Countries field, choose “All Allowed Countries” to accept Purchase Order Payment Method for customers from all countries specified in your store configuration or “Specific Countries” to approved this payment method for some definite countries which you select from the Payment from Specific Countries list.
  • In the Minimum Order Total and Maximum Order Total fields, set the order amounts required to qualify for this payment method.
  • In the Sort Order field, enter a number to determine the position of Purchase Order Payment in the list of payment methods that is shown during checkout (start from 0).

Purchase Order Payment Method

Step 3: Save the configuration

  • Click on Save Config button in the upper-right corner when you are done.
  • If you are noticed to refresh the page cache, click the links in the notification, and follow the instructions.

7. Configure Zero Subtotal Checkout Payment Method

People will never say no to free products; therefore Zero Subtotal Checkout is the payment method needed for the order that its grand total equals zero. Zero-grand total order may be the result of a discount or applied coupon with free shipping or created manually by admins due to any problem happened with the products in the last orders. This payment method is enabled by default in Magento 2.0 and you can customize some advanced configuration in the backend as the instruction below.

Configure Zero Subtotal Checkout Payment Method in Magento 2

Step 1: Open the Zero Subtotal Checkout Tab

  • On the Admin sidebar, click Stores > Settings > Configuration.
  • In the panel on the left, choose Sales > Payment Methods > Zero Subtotal Checkout.

Step 2: Set options for Zero Subtotal Checkout Section

  • In the Title field, enter a new title to change or leave the default of “No Payment Information Required” to recognize the Zero Subtotal Checkout Payment Method during checkout.
  • In the Enabled field, pick “Yes” to activate Zero Subtotal Checkout Payment Method.
  • In the New Order Status field:
    • set “Pending” for new orders to wait for the authorization;
    • set “Processing” if the payment is already authorized and processing;
    • set “Suspected Fraud” if a fraud is detected.
  • In the Payment from Applicable Countries field, choose “All Allowed Countries” to accept Zero Subtotal Checkout Payment Method for customers from all countries specified in your store configuration or “Specific Countries” to approved this payment method for some definite countries which you select from the Payment from Specific Countries list.
  • In the Sort Order field, enter a number to determine the position of Zero Subtotal Checkout Payment in the list of payment methods that is shown during checkout (start from 0). Zero Subtotal Checkout Payment Method

Step 3: Save the configuration

  • Click Save Config button in the upper-right corner when you are done.
  • If you are noticed to refresh the page cache, click the links in the notification, and follow the instructions.

8. Configure Authorize.Net Direct Post

Authorize.Net Direct Post is useful for Magento website that has a plenty of stores as merchants who can totally manage their checkout pages. Particularly, merchants have the own accounts on Authorize.Net and they will complete all checkout content and forms on their sites. In fact, this will bring more security for merchant payment information as the form is posted to Authorize.Net’s secure servers. It is clearly visible that Authorize.Net Direct Post plays the role of third-party in Magento site as same as PayPal. However, with Authorize.Net, customers can finish the transaction process while remaining in Magento store, instead of being redirected to the third-party website.

Authorize.Net Direct Post

Configure Authorize.Net Direct Post in Magento 2

Step 1: Prepare for Authorize.Net Direct Post Method

This step is about preparing the appearance of Authorize.Net Direct Post payment method to display on your checkout page. Let’s follow the instruction below.

  • On the Admin sidebar, click Stores > Settings > Configuration.
  • In the panel on the left, choose Sales > Payment Methods.
  • Click to expand the Authorize.Net Direct Post section and set options.
    • In the Enabled field, set “Yes” to activate Authorize.Net Direct Post.
    • In the Set Payment Action field, select “Authorize Only” to accept Authorize.Net to authorize customer’s funds, and create an order in your store. After the process, you can compose an invoice and capture the customer’s funds. Or select “Authorize and Capture” to let Authorize.Net authorizing and capturing customer’s funds and creates an order and invoice in your store.
    • In the Title field, enter a new name for Authorize.Net Direct Post to show on the checkout page or leave the default of “Credit Card Direct Post (Authorize.net)”.

Authorize.Net Direct Post

Step 2: Set the basement

Before launching the Authorize.Net Direct Post Method for your Magento store you need to set the basement which actually is the process of providing your Authorize.Net merchant account.

  • In the API Login ID, Transaction Key and Merchant MD5 fields, enter your credentials and hash value from your Authorize.Net merchant account. You can find hash value on the Authorize.Net website at Account > Settings > Security Settings > MD5-Hash.
  • In the New Order Status field, set Processed Ogone Payment or Processing to suitable with the nature of the transaction.
  • Leave the Test Mode field to “Yes” to set your configuration in the test environment. When you are sure that the system runs well and there is no bug, turn Test Mode into “No” for adapting on live transaction.
  • In the Gateway URL and Transaction Details URL fields, type the new URLs or leave them in the default. In case you receive a temporary URL for test transactions, remember to restore the original URL when you are ready to process live transactions.

Authorize.Net Direct Post

Step 3: Complete the last configuration

This is the last step of the guidance which concludes of the common requirement for configuring payment method in Magento.

  • In the Accepted Currency field, choose the currency being circulated in your location or use the one that gives your target customers the most convenience at checkout.
  • Set Debug to “Yes” to save logs between your store and the Authorize.Net system.
  • Set Email Customer to “Yes” if you want to send emails to customers then type your business email address in the Merchant’s Email field.
  • In the Credit Card Types box, select all type of credit card that is accepted in your store.
  • Set Credit Card Verification to “Yes” to require customers to enter a card verification value.
  • In the Payment from Applicable Countries field, choose “All Allowed Countries” to accept Authorize.Net Direct Post for customers from all countries specified in your store configuration or “Specific Countries” to approved this payment method for some definite countries which you select from the Payment from Specific Countries list.
  • In the Minimum Order Total and Maximum Order Total fields, set the order amounts required to qualify for this payment method.
  • In the Sort Order field, enter a number to determine the position of Authorize.Net Direct Post in the list of payment methods that is shown during checkout (start from 0).

Authorize.Net Direct Post

  • Click Save Config button in the upper-right corner when you are done.

It comes to the end of tutorial: How to Configure Payment Methods in Magento 2.

Please leave comments if you have any questions, feedbacks.

Comments for How to Configure Payment Methods in Magento 2

You also may like these Magento 2 Extensions

One Step Checkout

$199
111 reviews

Layered Navigation

$99
59 reviews

Gift Card

$199
6 reviews

Reward Points

$99
4 reviews

Affiliate

$149
12 reviews

Shop By Brand

$99
16 reviews