承接 clearpay/module-clearpay 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

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

clearpay/module-clearpay

Composer 安装命令:

composer require clearpay/module-clearpay

包简介

Magento 2 Clearpay Payment Module

README 文档

README

Installation

Install using Composer (Recommended)

  1. From the CLI, run the following commands to install the Clearpay module.
    The right installation command is dependent on your Magento 2 version:
    Magento version Command to run
    2.4.* composer require clearpay/module-clearpay:^5
    2.3.* composer require clearpay/module-clearpay:^4
    < 2.3.0 composer require clearpay/module-clearpay:^3
  2. Run Magento install/upgrade scripts: php bin/magento setup:upgrade
  3. Compile dependency injection: php bin/magento setup:di:compile
  4. Deploy static view files (production mode only): php bin/magento setup:static-content:deploy
  5. Flush Magento cache: php bin/magento cache:flush

Install manually

  1. Download the Clearpay module for Magento 2 - Available as a .zip or tar.gz file from the Clearpay GitHub directory.
    The right installation module is dependent on your Magento 2 version:
    Magento version Download
    2.4.* Clearpay
    2.3.* Clearpay:4.*
    < 2.3.0 Clearpay:legacy
  2. Unzip the file
  3. Create directory `Clearpay/Clearpay` in: [MAGENTO]/app/code/
  4. Copy the files to `Clearpay/Clearpay` folder
  5. Run Magento install/upgrade scripts: php bin/magento setup:upgrade
  6. Compile dependency injection: php bin/magento setup:di:compile
  7. Deploy static view files (production mode only): php bin/magento setup:static-content:deploy
  8. Flush Magento cache: php bin/magento cache:flush

Clearpay Merchant Setup

Complete the below steps to configure the merchant’s Clearpay Merchant Credentials in Magento Admin. Note: Prerequisite for this section is to obtain an Clearpay Merchant ID and Secret Key from Clearpay.

  1. Navigate to Magento Admin/Stores/Configuration/Sales/Payment Methods/Clearpay
  2. Enter the Merchant ID and Merchant Key.
  3. Enable Clearpay plugin using the Enabled checkbox.
  4. Configure the Clearpay API Mode (Sandbox Mode for testing on a staging instance and Production Mode for a live website and legitimate transactions).
  5. Save the configuration.
  6. Navigate to Magento Admin/System/Tools/Cache Management
  7. Click Flush Magento Cache button

Upgrade

Composer Upgrade (Recommended)

This section outlines the steps to upgrade the currently installed Clearpay plugin version using composer.

Notes: Prerequisite for this section is that the module should be installed using composer. Please see section 'Install using Composer' for guidelines to install Clearpay module using composer.

[MAGENTO] refers to the root folder where Magento is installed.

  1. Open Command Line Interface and navigate to the Magento directory on your server
  2. In CLI, run the below command to update Clearpay module:
    The right installation command is dependent on your Magento 2 version:
    Magento version Command to run
    2.4.* composer require clearpay/module-clearpay:^5
    2.3.* composer require clearpay/module-clearpay:^4
    < 2.3.0 composer require clearpay/module-clearpay:^3
  3. Make sure that Composer finished the update without errors
  4. Run Magento install/upgrade scripts: php bin/magento setup:upgrade
  5. Compile dependency injection: php bin/magento setup:di:compile
  6. Deploy static view files (production mode only): php bin/magento setup:static-content:deploy
  7. Flush Magento cache: php bin/magento cache:flush

Manual Upgrade

This section outlines the steps to upgrade the currently installed Clearpay plugin version.
The process of upgrading the Clearpay plugin version involves the complete removal of Clearpay plugin files.

Note: [MAGENTO] refers to the root folder where Magento is installed.
  1. Remove Files in: [MAGENTO]/app/code/Clearpay/Clearpay
  2. Download the Magento-Clearpay plugin - Available as a .zip or tar.gz file from the Clearpay GitHub directory.
    The right Clearpay module upgradation is dependent on your Magento 2 version:
    Magento version Download
    2.4.* Clearpay:latest
    2.3.* Clearpay:4.*
    < 2.3.0 Clearpay:legacy
  3. Unzip the file
  4. Copy the files in folder to: [MAGENTO]/app/code/Clearpay/Clearpay
  5. Open Command Line Interface
  6. In CLI, run the command to enable Clearpay module: php bin/magento module:enable Clearpay_Clearpay
  7. Run Magento install/upgrade scripts: php bin/magento setup:upgrade
  8. Compile dependency injection: php bin/magento setup:di:compile
  9. Deploy static view files (production mode only): php bin/magento setup:static-content:deploy
  10. Flush Magento cache: php bin/magento cache:flush

Uninstall

  1. From the CLI, run the following commands to uninstall Clearpay module: bin/magento module:uninstall Clearpay_Clearpay
  2. Run Magento install/upgrade scripts: php bin/magento setup:upgrade
  3. Compile dependency injection: php bin/magento setup:di:compile
  4. Deploy static view files (production mode only): php bin/magento setup:static-content:deploy
  5. Flush Magento cache: php bin/magento cache:flush

Headless support

Module supports GraphQL and REST API. See GraphQL and Rest API

clearpay/module-clearpay 适用场景与选型建议

clearpay/module-clearpay 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 143.01k 次下载、GitHub Stars 达 4, 最近一次更新时间为 2019 年 12 月 18 日, 在 PHP 生态内属于活跃度较高的组件。

我们在过去多个企业项目中使用过 clearpay/module-clearpay 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。

围绕 clearpay/module-clearpay 我们能提供哪些服务?
定制开发 / 二次开发

基于 clearpay/module-clearpay 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。

BUG 修复 & 性能优化

线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。

项目外包 & 长期维护

承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。

yvsm@zunyunkeji.com QQ:316430983 微信:yvsm316 西安尊云信息科技 · 专注 PHP / Go / 分布式系统研发

统计信息

  • 总下载量: 143.01k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 4
  • 点击次数: 19
  • 依赖项目数: 1
  • 推荐数: 0

GitHub 信息

  • Stars: 4
  • Watchers: 2
  • Forks: 6
  • 开发语言: PHP

其他信息

  • 授权协议: Apache-2.0
  • 更新时间: 2019-12-18