2

Please provide any official documents or any demo/tutorials mode for this (How to make Payment Gateway in Magento 2).

2 Answers 2

2

INSTALLATION:

First of all, download the MageDelight base extension here. – https://www.magedelight.com/pub/extensions/magedelight-base.zip

After this,

  • Unzip the extension package file into the root folder of your Magento 2 installation.
  • Connect to SSH console of your server:
  • Navigate to the root folder of your Magento 2 setup
  • Run command as per below sequence,
php bin/magento setup:upgrade php bin/magento setup:di:compile php bin/magento setup:static-content:deploy php bin/magento cache:clean
  • log out from the backend and log in again

BACKEND CONFIGURATION

  • Enable: Enable/disable the First Data Payment method.
  • Title: Define the label for First Data Payment method that will display in the payment section checkout page. Payment information of order, invoice, credit memo and shipment section will be included.
  • Gateway ID: This ID identifies the merchant within the First Data and is also used to log in to the First Data Business Center.
  • Gateway Password: Merchant can define gateway password that is associated with current First Data merchant account.
  • Key ID: Admin will be allowed to get the key ID for First Data transaction key ID from merchant account.
  • HMAC Key: Configure merchant key ID here.
  • Test Mode: Admin can define the mode of First Data Payment method of web shop. Merchant can set either “Yes”/ “No” for this option depends on the environment of web shop (Production or Development).
  • Payment Action: Admin can define the payment action that would take on successful order placed by user. Admin can choose,
    • Authorize and Capture: This payment action will directly capture the requested amount from the customer credit card on placing an order from frontend or backend. Invoice will automatically create when user successfully place an order.
    • Authorize Only: This payment action will only authorize the requested amount on the credit card of customer on placing an order from frontend or backend.
  • Gateway URL: This option defines the Gateway URL for live mode of First Data payment method API.
    https://api.globalgatewaye4.firstdata.com/transaction/v19/wsdl
  • Test Gateway URL: This option defines the Gateway URL for test mode of First Data payment method API.
    https://api.demo.globalgatewaye4.firstdata.com/transaction/v19/wsdl
  • Debug: This option defines the debugging mode of First Data payment method. Admin can choose “Yes / No” depending on the Production / Development environment if web site. Normally this option should only be enabled for a development environment.
  • Credit Card Types: This option defines the list of Credit Cards that customers can choose from the card selection field on the payment section of one page checkout page.
  • Credit Card Verification: This field will allow the admin to select whether the Card Code Verification option should be displayed or not on payment section.
  • Save Optional: The customer must have to save the credit card for future transaction processing if this field it set to “No”. By selecting “Yes” for this field will allow customers to choose whether they want to save the credit card for future processing or not.
  • New Order Status: This option defined the order status after successfully processing the order.
  • Payment from Applicable Countries: This option allows admin to configure First Data Payment gateway for specific countries,
    • By selecting “All Allowed Countries” from this option will make First Data Payment for customers from all the countries.
    • By selecting “Specific Countries” from this option will make First Data Payment method for customers from specific countries.
  • Payment from Specific Countries: This option will only enabled if “Payment from Applicable Countries” option will set to “Specific Countries”.
    This option will be a multi-select option so the admin can choose one or more countries from these fields for which this payment method will be displayed on the payment section.
  • Minimum Order Total: This option defines the minimum order total for which this payment method displays on the payment section of one-page checkout on the front end.
  • Maximum Order Total: This option defines the maximum order total for which this payment method will display on the payment section of the one-page checkout page of the frontend.
  • Sort Order: This option defined the sort order of payment method on the payment step on checkout one page of the frontend.
  • Delete Cards: Admin can edit the merchant details (though it is not a good practice to change). On edit, it is required to delete the saved credit cards manually

BACKEND FUNCTIONALITY FOR THE ADMIN

Admin is facilitated to manage customer cards from customer management section of backend interface. In customer edit section admin can go to the “First Data (Saved Cards)” tab. Here admin can able to view all stored cards for each customer, also can add new card as well as edit or delete particular card.

Admin is allowed to see the payment information for specific order like “Credit Card Type”, Credit card number with masked format, total processed amount on the card, First Data gateway generated transaction id, AVS Response, CVN Response, Merchant Reference code and the currency format in which order was placed.

First Data payment gateway extension by MageDelight would allow admin to place an order on behalf of the customer using saved order. It simply means the admin would not need to contact customer for payment information.

1

This documentation is from official magento 2 website.
https://devdocs.magento.com/guides/v2.4/payments-integrations/payment-gateway/payment-gateway-intro.html

This video tells step by step after you login into admin side -
https://www.youtube.com/watch?v=nl_lMB4fqwk

Detailed Video
https://www.youtube.com/watch?v=eoUBLxKa0pQ

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.