Zenki
Zenki Home Toggle Dark/Light/Auto mode Toggle Dark/Light/Auto mode Toggle Dark/Light/Auto mode Back to homepage

Magento

Zenkipay for Magento allows merchants to accept payments on their store with different cryptocurrencies through multiple wallets.

Requerimientos

It’s necessary that the server where your Magento store is hosted has the following characteristics:

  • PHP 7.4 or higher (depends on the Magento version)
  • MySQL 8.0
  • Apache 2.4 or Nginx with mod_rewrite module enabled
  • PHP cURL extension installed
  • HTTPS support
  • Magento 2.4.1 or higher
  • Composer 2.2 or higher

Instalation

  1. From the command line, go to the root of the project and run the following commands to install the dependency:
1
2
3
4
composer require zenki/zenkipay-magento
bin/magento module:enable Zenki_Zenkipay --clear-static-content
bin/magento setup:upgrade
bin/magento cache:clean

Configuration

  1. Once the Zenkipay module is installed and enabled in the store, from the backoffice go to Stores > Configuration > Sales > Payment methods.

Step 1

Step 2

  1. To enable the plugin, the following fields must be captured for its correct operation:
  • Enabled: Enable Zenkipay as a WooCommerce payment method
  • Test mode: It’s used to indicate if you are working with tests (Sandbox mode) or live transactions (Production).
  • Sandbox Zenkipay key: It’s is necessary to perform test transactions. You can find the steps to get this key at the following link: Requirements for plugin integration.
  • Production Zenkipay key: This key is used to start live transactions. During the testing process it’s not necessary.
  • Webhook signing secret: It’s necessary to confirm payments in the store. You can find the steps to get this signing secret at the following link: Requirements for plugin integration.
  • RSA private key: It’s necessary to sign the payment requests, verify that the request comes from your store and make sure that no one has manipulated the purchase data. You can find the steps to get this private key at the following link: Preparations for your integration.
  • Payment from Applicable Countries: Allows you to indicate whether the plugin will be available as a payment method for all countries or just some.
  • Payment from Specific Countries: It allows you to select the countries in which we want to have Zenkipay available as a payment method.
  • Sort Order: It allows you to indicate the order in which we want Zenkipay to be displayed in the list of payment methods that the customer will see.

Step 3

NOTE: If the Zenkipay key (sandbox o production) is incorrect, an error message will be displayed.

Webhook

The plugin’s webhook will allow Zenkipay to confirm to the store that the payment was completed once the payment has been made by the customer and will change the status of the order, which is initially “Pending” to “Processing”.

Webhook URL will be configured during the Zenkipay merchant account registration process, the URL format is as follows: https://my-store.com/zenkipay/index/webhook.