定制 coinbar/coinbar-pay-m2-plg 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

coinbar/coinbar-pay-m2-plg

最新稳定版本:1.0.5

Composer 安装命令:

composer require coinbar/coinbar-pay-m2-plg

包简介

Magento 2 Plug-in for CoinbarPay

README 文档

README

Pre-requisites

  • A working Magento 2.4.x installation - better have officially supported (i.e., not end-of-life) versions
  • Your keys for the Magento composer repository - get them by logging in with your account on https://commercemarketplace.adobe.com/.
  • Your Coinbar Pay credentials (Service Client ID, API Key, Secret Key)

Installation

Add the repositories to the composer.json file

Add the following three repositories to the composer.json file of your Magento 2 installation (it is in the installation root directory). They must be placed in the repositories section:

...
"repositories": [
   ... other repositories here, leave them and append a comma (,)
   ... then add the following:

       { "type": "git", "url": "https://github.com/adamantic-io/coinbar-pay-php-sdk" },
       { "type": "git", "url": "https://github.com/adamantic-io/crypto-payments-php" },
       { "type": "git", "url": "https://github.com/adamantic-io/coinbar-pay-m2-plg.git" }

]

come provvisorio modificare i seguenti dati sul composer json

"minimum-stability": "dev",
    "prefer-stable": false,
    "repositories": [

Install the plug-in via Composer

Open a terminal in the Magento 2 installation directory, and issue the following commands:

  1. composer require coinbar/coinbar-pay-m2-plg/
  2. php bin/magento setup:upgrade
  3. php bin/magento setup:di:compile

Configure the plug-in

Open the Magento 2 admin section, and head to Stores -> Configuration -> Sales -> Payment Methods. You will find a new payment method (usually at the bottom) called Coinbar Pay; select it and insert the required data:

  • Service Client ID
  • Coinbar Pay API Key
  • Coinbar Pay Secret Key

Also, make sure that the payment method is enabled (option Enabled = Yes). Then save the config and clear the caches.

That's it - you should now be able to use Coinbar Pay at the Magento 2 checkout.

License

This plug-in is released under a LGPL license - version 3. Please refer to the LICENSE file for further detail.

统计信息

  • 总下载量: 38
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 0
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: LGPL-3.0
  • 更新时间: 2023-07-12