Magento PAYCOMET Module

  1. Installation
  2. Module Configuration
    1. PAYCOMET client area
    2. Magento 2
      1. PAYCOMET Configuration
      2. Advanced Settings
      3. Scoring
      4. Country Specific Settings
  3. Make Order
  4. Pre-authorisations
  5. User Area

Download Link

The module can be downloaded from the following link: Magento 2

Installation

Install the PAYCOMET Magento 2 composer package

composer require paytpv/payment

Enable the extension in Magento 2

bin/magento module:enable Paytpv_Payment --clear-static-content

Setup the extension and refresh cache

bin/magento setup:upgrade

bin/magento cache:flush

bin/magento setup:di:compile

bin/magento setup:static-content:deploy

Enable and configure the extension in the Magento backend under Stores > Configuration > Sales > Payment Methods

Module Configuration

PAYCOMET client area

Magento 2

Below the PAYCOMET Module configuration is explained for Magento 2.1.9

When we install the module on magento, in CONFIGURATION ->SALES->Payment Mehtods a new “PAYCOMET credit card” option will be shown.

It will have the following appearance:


PAYCOMET Configuration

Firstly, the fields must be completed, provided in the product configuration of the PAYCOMET client area. These fields are:

  • Title: Title in Checkout for Payment Module
  • Integration method: Bankstore IFrame/XML
  • Payment Action:
    • Authorize and Capture: Is default option. The user is automatically charged upon completion of the purchase.
    • Authorize: A pre-authorization of the operation is performed to capture the funds to the user. (See Preauthorization section)
  • User password
  • Terminal number
  • Client code
  • Terminals available: Secure, Non-Secure, Both. The client must indicate what type of Terminal they have contracted.
  • Use 3D Secure: [Yes/NO]. If there is a Secure terminal it will always be YES, if there is a Non-Secure terminal it will always be NO. In case of having both, it can be selected whether or not to use 3D Secure for the first purchase. If the client has a Secure and Non-Secure terminal and activates this option, the first card payment, whether tokenised or not, will be 3D Secure. If a new card is entered it will always use 3D Secure when this option is activated.
  • Use 3D Secure for payments of over: This option will only be enabled when Terminals Available=Both. When the amount indicated is exceeded in the purchase it will be made by 3D Secure.

Advanced Settings

Configure Advanced Settings of Payment Module

  • Offer to save card: If it is activated, the user is given the option of saving cards for future purchases.
  • Remember Card (Selected): If you want the option to remember card is selected by default.
  • Manage cards in My Account: If you want to give the option to the user to manage the cards in your account.
  • New order status: Initial status for orders before the response from the gateway.
  • Cancelled order status: Status for canceled orders.
  • Iframe Enabled: The Iframe is shown in the checkout. If it is disabled, it is redirected to PAYCOMET. If it is disabled, you must contact PAYCOMET to activate the FullScreen on your product
  • Iframe Mode
    • Lightbox: The payment form is loaded in a window
    • Embedded: The payment form is displayed within the payment method

Scoring

Payment Method can send Cart Information (customer data, shipping data, etc, etc,) to PAYCOMET to evaluate order Scoring before processing. Scoring parameters are defined inside PAYCOMET account and should be enabled in your PAYCOMET account. Plase contact PAYCOMET if you want to use this functionality.


Country Specific Settings

From here you can configure the countries for which this payment method will be active.

Make Order

When making an order in the Magento store, “(PAYCOMET) credit/debit card” will be shown as a payment option.

  • NORMAL PAYMENT: If it is the first time purchasing, it will have the following aspect

The card information must be completed.

“Save Card”. Serves to save the token for future purchases. If we select this option, the next time that we pay in the store, the saved card will appear in Pay with Card.

Example:

If it is desired to pay with another card we will select NEW CARD so that all the new card information to enter will be shown.

Pre-authorisations

When is selected "Authorize" in Payment Action.

If "Authorize and Capture", the purchases of users will be automatically charged to the card of the user.

If Preauthorize is indicated, when the client makes the payment, a pre-authorisation is generated on the user’s card. This must be confirmed within the following 7 days, as after this date it is no longer valid.

Pre-authorisations function both for clients that have a Secure Terminal and for those that have Non-Secure Terminals.

To approve the pre-authorisations, we must access the order and create an invoice on the generated order.

It can be seen that there is an authorisation transaction.

We access the Invoice section and generate a new invoice:

In the lower right section we see the “Send Invoice” button. We must select “Online Capture” in the Amount field to confirm the pre-authorisation.

Once the button is clicked, the invoice is generated and the pre-authorisation of the payment from the client’s credit card is confirmed.

If we access the invoice section we will see that the invoice has now been created.

In the transactions section we will see the transaction of the “Capture”confirmation generated.

In the transactions section we will see the transaction of the “Capture”confirmation generated.

If you wish to Cancel a Preauthorization that has not been confirmed, you can do so by clicking on the Cancel button.

User Area

Within the Magento User Area, in MY ACCOUNT a new “MY CARDS” section will appear. In this area we can See/Create Tokenised cards.

MY LINKED CARDS

Clicking “Remove card”, we remove the indicated card.

Clicking Update Description”, the description that we have entered is associated with the card.

Clicking on checkbox, we can register new cards for future payments.