The Most Popular Extension Builder for Magento 2

With a big catalog of 224+ extensions for your online store

How to Configure Payment Methods in Magento 2

Customers have their own preferences when it comes to payment methods, either due to convenience, security, or demographic factors. To answer this need, online stores need to offer different payment methods so that customers can choose whichever one they feel most comfortable with.

How to Configure Payment Methods in Magento 2

1. Configure Braintree Payment Method

braintree

Braintree is a full-stack payment platform that allows your customers to check out by accessing credit and debit cards, PayPal, Apple Pay, Android Pay, Venmo, Bitcoin, and more. With the Braintree platform, you can easily accept payment from an app or website. Notice that Braintree Payment Method can only be used with your store when Magento Secure Payment Bridge is enabled and configured correctly.

In short, before starting the configuration to set the Braintree payment method in your Magento store, you may want to find more details about Braintree and its acceptable use policy on its site.

6 Steps to Configure Braintree Payment Method in Magento 2

Step 1: Start the Braintree Payment Method Configuration

  • On the Admin sidebar, choose [Stores](https://www.mageplaza.com/kb/how-to-setup-multiple-stores-magento-2.html) > 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 are ready to go live.
  • In the Payment Action field, select Authorize Only to approve the purchase, but put a hold on the funds to wait 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 the 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 credit cards that 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 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 wait 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 that 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](https://www.mageplaza.com/magento-2-one-step-checkout-extension/) 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 Applicable Countries or for Specific Countries.

Braintree Payment Method

Step 7

This section is ONLY available in Magento 2.1.

Basically, Dynamic Descriptors are custom descriptors configured and passed with each transaction via the API. In this section, there are 3 options for filling out the description’s Name, Phone number, and URL.

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 into your store can increase conversion rate twice and raise the overall number of customers by up to 29%. PayPal is trusted and used widely for its fast checkout, utility when accepting debit cards, credit cards, and almost all currencies in the world, as well as absolute security. For all the reasons above, PayPal Express Checkout appears in every online store. To manage the PayPal Express Checkout Payment Method on your Magento website, let’s follow the steps below.

PayPal Express Checkout

5 Steps to 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 accounts:
  • 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, it is recommended that you add another user to your account. Then,
  • Log into your account again at 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 that is used to sign up for 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 if 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 your customers financing through PayPal, go to PayPal Credit to learn more. The Basic and Advanced Settings can be configured later, so click Save config and start working with the Magento site.

Step 2: Prepare for PayPal Express Checkout Configuration

This step is used to build a basement to configure 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 the Merchant Country field. If this field is left blank, the default country from the general configuration 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 settings: 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 in the API Username and API Password fields. In the API Certificate field, upload a file of the API Certificate to complete.
  • Click Get Credentials from PayPal or Sandbox Credentials if needed, and 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 the Home Page section and set the options.
  • In the Display field, choose Yes to enable the banner to appear on the Home Page or “No” to disable it.
  • In the Position field, select the location of the banner on the Home Page.
  • In the Size field, set the size of the banner that is suitable for 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 wait for them to be “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 display the Checkout with PayPal button on the product page. PayPal Express Checkout

Step 5: Set options for Advanced Settings.

The advanced settings section includes advanced configuration when integrating PayPal.

  • Click to expand the Advanced Settings section.
  • In the Display on Shopping Cart field, choose Yes to display the Checkout 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 approve this payment method for some definite countries which you select from the Payment from Countries Payment Applicable From list.
  • In the Debug Mode field, 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 the 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 the PayPal Billing Agreement, then complete the settings in the same way as the instructions for the 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 Addressfield. 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 the 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 the Save Config button in the upper-right corner when you are done.

3. Configure Bank Transfer Payment Method

bank transfer

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

Bank Transfer Payment Method

3 Steps to 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 the 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 approve 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 are shown during checkout (start from 0).

Bank Transfer Payment Method

Step 3: Save the configuration

  • Click the Save Config button in the upper-right corner when you are done.
  • If you are notified 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 the shipping carrier when receiving the goods. 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. The cash 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

3 Steps to 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 the Cash On Delivery Payment Section

  • In the Enabled field, pick Yes to activate the 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 approve 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 the Save Config button in the upper-right corner when you are done.
  • If you are notified 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 the Check Money Payment Method, you can follow the steps in the guidance below.

Check Money Order Payment Method

3 Steps to 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 the Check Money Order 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 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 the Save Config button in the upper-right corner when you are done.
  • If you are notified 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 the 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

3 Steps to 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 the 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 approve 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 the Save Config button in the upper-right corner when you are done.
  • If you are notified 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 happening 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.

3 Steps to 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 the Save Config button in the upper-right corner when you are done.
  • If you are notified 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 have 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, the same as PayPal. However, with Authorize.Net, customers can finish the transaction process while remaining in the Magento store, instead of being redirected to the third-party website.

Authorize.Net Direct Post

3 Steps to 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 authorize and capture 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 be 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 approve 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 the Save Config button in the upper-right corner when you are done.

FAQs

1. What are the default payment methods available in Magento 2?

Magento 2 offers several built-in payment methods:

  • Check/Money Order: Customers pay by sending a check or money order.
  • Cash On Delivery (COD): Customers pay upon delivery.
  • Bank Transfer: Customers pay by transferring money to the store’s bank account.
  • Purchase Order: Used for B2B transactions requiring a formal purchase order.
  • Zero Subtotal Checkout: Customers checkout without payment information if the order subtotal is zero.

2. Can I configure multiple payment methods for my Magento 2 store?

Yes, Magento 2 allows you to configure and enable multiple payment methods. You can set up various options to provide your customers with a range of payment choices during checkout, improving their shopping experience.

3. Do I need a developer to configure payment methods in Magento 2?

You likely don’t need a developer to configure the default payment methods. However, integrating complex payment gateways or customizing advanced settings might require developer assistance.

4. Are there any security considerations when configuring payment methods?

Yes, security is essential as it ensures you:

  • Use a secure connection (HTTPS) for your Magento 2 admin panel.
  • Store sensitive payment gateway credentials securely (not directly in the configuration).
  • Follow best practices recommended by Magento and the chosen payment gateway.

5. What should I do if I encounter errors while setting up a payment method?

  • Check if there are any error messages in the Magento logs or not
  • Refer to the documentation for the specific payment method or gateway.
  • Search online communities to find solutions to similar issues.
  • Consider seeking assistance from a Magento developer if the problem persists.

The bottom line

We understand that every Magento 2 store needs more than one payment method to operate at its best and satisfy their customers. That is why this guide tries to provide you with the most detailed instructions to get started. If you are looking for more completed solutions, please take a look at the below payment extensions by Mageplaza, where we offer amazing tools for all common payment gateways. Any concerns about the guide or the extensions, please discuss more with us.

Image Description
With over a decade of experience crafting innovative tech solutions for ecommerce businesses built on Magento, Jacker is the mastermind behind our secure and well-functioned extensions. With his expertise in building user-friendly interfaces and robust back-end systems, Mageplaza was able to deliver exceptional Magento solutions and services for over 122K+ customers around the world.

Looking for Magento Development Company?

8+ years of experiences in e-commerce & Magento has prepared us for any challenges, so that we can lead you to your success.

Get free consultant
development service
x

    Explore Our Products:

    People also searched for

    Subscribe

    Stay in the know

    Get special offers on the latest news from Mageplaza.

    Earn $10 in reward now!

    Earn $10 in reward now!

    comment
    iphone
    go up