Skip to main content

CartaSi/Nexi

Overview

Nexi provides payment services for many areas. Furthermore, this extension supports different payment cards, especially with customers in Italy. Mageplaza Nexi extension will help you integrate this payment gateway with your store. Your customers can use various cart types and also include authorize, capture. These settings are custom admin at the backend.

Mageplaza Nexi extension is fully compatible with Mageplaza One Step Checkout

How to download and install

How to use Nexi

Redirect Nexi Checkout: This section has been configured by admin to redirect customers to the Nexi Payment Gateway to make payment there.

Following provides some sample card information for your testing:

 

Card Type

Card number

Deadline

CVV2*

Expected Result

Error message

VISA

4539970000000006 (EUR)

12/2030

***

Pagamento accettato

Message Ok

VISA

4539970000000014 (EUR)

12/2030

***

Pagamento rifiutato

Auth. Denied

VISA

4539970000101010 (EUR)

12/2030

***

Pagamento rifiutato

expired card

VISA

4539970000104014 (EUR)

12/2030

***

Pagamento rifiutato

restricted card

VISA

4539970000109013 (EUR)

12/2030

***

Pagamento rifiutato

invalid merchant

VISA

4539970000110011 (EUR)

12/2030

***

Pagamento rifiutato

transaction not permitted

VISA

4539970000116018 (EUR)

12/2030

***

Pagamento rifiutato

not sufficient funds

VISA

4539970000117016 (EUR)

12/2030

***

Pagamento rifiutato

incorret PIN

VISA

4539970000118014 (EUR)

12/2030

***

Pagamento rifiutato

no card record

VISA

4539970000902011 (EUR)

12/2030

***

Pagamento rifiutato

Technical problem

VISA

4539970000907010 (EUR)

12/2030

***

Pagamento rifiutato

Host not found

MASTERCARD

5255000000000001 (EUR)

12/2030

***

Pagamento accettato

Message Ok

MASTERCARD

5255000000000019 (EUR)

12/2030

***

Pagamento rifiutato

Auth. Denied

MASTERCARD

5255000000101015 (EUR)

12/2030

***

Pagamento rifiutato

expired card

MASTERCARD

5255000000104019 (EUR)

12/2030

***

Pagamento rifiutato

restricted card

MASTERCARD

5255000000109018 (EUR)

12/2030

***

Pagamento rifiutato

invalid merchant

MASTERCARD

5255000000110016 (EUR)

12/2030

***

Pagamento rifiutato

transaction not permitted

MASTERCARD

5255000000116013 (EUR)

12/2030

***

Pagamento rifiutato

not sufficient funds

MASTERCARD

5255000000117011 (EUR)

12/2030

***

Pagamento rifiutato

incorret PIN

MASTERCARD

5255000000118019 (EUR)

12/2030

***

Pagamento rifiutato

no card record

MASTERCARD

5255000000902016 (EUR)

12/2030

***

Pagamento rifiutato

Technical problem

MASTERCARD

5255000000907015 (EUR)

12/2030

***

Pagamento rifiutato

Host not found

*any combination of 3 numbers is accepted

How to Configure

1. Configuration

Login to the Admin Magento, choose Stores > Configuration > Sales > Payment Method > Nexi.

  • Enable: Select Yes to enable the module's feature and use the payment methods supported by Nexi .

1.1. Credentials

  • Environment:

    • Admin can choose Sandbox environment to check payment feature by Nexi
    • When you want to apply for online payment, admin needs to change the environment to Production.
  • Payment Page URL:

    • The URL to which the customer is redirected when paying with Nexi
    • For Sandbox environment, URL = https://int-ecommerce.nexi.it/ecomm/ecomm/DispatcherServlet
    • With Production environment, URL = https://ecommerce.nexi.it/ecomm/ecomm/DispatcherServlet
    • You can refer more information here
  • Merchant Alias & MAC Calculation Secret Key:

    • Depending on the solution Admin wants to use when checkout, Merchant Alias and MAC Calculation Secret Key will change
    • There are 4 main solutions: Simple payment in Frontend, Periodic payment/ OneClick in Frontend, Simple payment in Backend, Recurring payment in Backend
    • You can refer here
  • Get Test URL button: Admin can check your app by clicking the Get Test URL button. If Merchant Alias & MAC Calculation Secret Key is filled correctly, admin can check one sample order by Nexi payment method.

1.2. General Setting

  • Title: Enter the title of the payment method displayed on the checkout page.

  • New Order Status:

    • Set Status for Order to be set by Nexi payment method
    • There are 2 Statuses that Admin can choose: Processing and Suspected Fraud
  • Payment Action:

    • Authorize and Capture: Payment will be Capture immediately after the Customer place order successfully. At that moment, the Customer's card will pay for the order and the Invoice will be created
    • Authorize: Payment will only be captured when admin creates an Invoice for Customer's order. When the Invoice is successfully created, admin can receive money from Customer's card
  • Payment Page Language: Choose 1 of 10 languages to display on the Nexi payment page

  • Payment from Applicable Countries:

    • Select All Countries to have Card payment method available in all countries
    • Select Specific Countries to limit certain countries to use this payment method
      • Payment from Specific Countries: The selected countries will be shown the Card payment method
  • Minimum Order Total:

    • Minimum amount setting for the whole order (including ship, tax, discount) to be paid by Nexi
    • When Order Total reaches this limit, the new Nexi payment method is displayed in Frontend
  • Maximum Order Total:

    • Set the maximum amount of the whole order (including ship, tax, discount) to be paid by Nexi
    • When Order Total exceeds this limit, Nexi payment method will be hidden in Frontend
  • Debug mode: If Yes, diagnostic information is stored in log files on the Magento web server.

  • Sort Order:

    • Specify the display position of this payment method compared to other payment methods
    • 0 is the largest number. The smaller the number, the more priority will be displayed in the first position.

2. Order Frontend