定制 clickpay/magento_v4 二次开发

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

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

clickpay/magento_v4

Composer 安装命令:

composer require clickpay/magento_v4

包简介

3rd party payment gateway

README 文档

README

The Official Magento2 plugin for ClickPay

Plugin features

Embeded Form

Direct Apple Pay

Real Refund from Magento (credit Memo)

Automatic Invoice

On Payment Method selection place order

Installation

Install using FTP method

Note: Delete any previous ClickPay plugin.

  1. Download the latest release of the plugin
  2. Upload the content of the folder to magento2 installation directory: app/code/ClickPay/PayPage
  3. Run the following Magento commands:
    1. php bin/magento setup:upgrade
    2. php bin/magento setup:static-content:deploy
    3. php bin/magento cache:clean

Install using Composer

  1. composer require clickpay/magento_v4
  2. php bin/magento setup:upgrade
  3. php bin/magento setup:static-content:deploy
  4. php bin/magento cache:clean

Activating the Plugin

By default and after installing the module, it will be activated. To Disable/Enable the module:

Enable

php bin/magento module:enable ClickPay_PayPage

Disable

php bin/magento module:disable ClickPay_PayPage

Configure the Plugin for normal redirect and iframe

  1. Navigate to "Magento admin panel" >> Stores >> Configuration
  2. Open "Sales >> Payment Methods
  3. Select the preferred payment method from the available list of ClickPay payment methods
  4. Enable the Payment Gateway
  5. Enable hosted or iframe method
  6. Enable automatic invoice
  7. Enter the primary credentials:
    • Profile ID: Enter the Profile ID of your ClickPay account
    • Server Key: Merchant’s Dashboard >> Developers >> Key management >> Server Key
    • Client Key: Merchant’s Dashboard >> Developers >> Key management >> Server Key
  8. Click Save Config

Configure the Plugin for Managed form

  1. Navigate to "Magento admin panel" >> Stores >> Configuration
  2. Open "Sales >> Payment Methods
  3. Enable the Payment Gateway
  4. Enable Managed form in the frame option
  5. Enable automatic invoice
  6. Enter the primary credentials:
    • Profile ID: Enter the Profile ID of your ClickPay account
    • Server Key: Merchant’s Dashboard >> Developers >> Key management >> Server Key
    • Client Key: Merchant’s Dashboard >> Developers >> Key management >> Server Key
  7. Click Save Config
  8. Contact Clickpay Technical team for whitlisting you server for having this feature.

Configure the Plugin for Direct Apple Pay on your website

  1. Navigate to "Magento admin panel" >> Stores >> Configuration

  2. Open "Sales >> Payment Methods

  3. Select the Apple Pay method from the available list of ClickPay payment methods

  4. Please find the setup section below for the apple pay certificate creation

  5. Once certificates created upload the certificates in admin panel

  6. Add the Merchnat identifier name

    Screenshot 2024-02-28 at 11 02 44 AM
  7. Enter the primary credentials:

    • Profile ID: Enter the Profile ID of your ClickPay account
    • Server Key: Merchant’s Dashboard >> Developers >> Key management >> Server Key
    • Client Key: Merchant’s Dashboard >> Developers >> Key management >> Server Key
  8. Click Save Config

Setup

  1. You must have a Apple Developer Account To use this Feature
  2. The Domain URL which you want to display the ApplePay Button. It should be verfied under same Apple Developer Account and under same merchant ID which you will create Certificates

image

  1. Create two certificates (Apple Pay Payment Processing Certificate & Apple Pay Merchant Identity Certificate)

  2. Create Apple Pay Payment Processing Certificate using below Link

    https://support.clickpay.com.sa/en/support/solutions/articles/73000593115-how-to-configure-apple-pay-certificate-in-my-clickpay-dashboard-
    
  3. Create Apple Pay Merchant Identity Certificate using below Steps

    openssl req -sha256 -nodes -newkey rsa:2048 -keyout merchant-cert.key -out merchant-cert.csr   (Create the CSR and Key File)
    
    Upload the CSR in Apple Developer portal to create merchant identifier
    Once Created Download the Certificate and Convert the downloaded cer to crt using below command
    
    openssl x509 -inform der -in merchant_id.cer -out merchant-cert.crt
    

Log Access

ClickPay custome log

  1. Access debug_Clickpay.log file found at: /var/log/debug_Clickpay.log

Done

clickpay/magento_v4 适用场景与选型建议

clickpay/magento_v4 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 242 次下载、GitHub Stars 达 2, 最近一次更新时间为 2024 年 02 月 28 日, 在 PHP 生态内属于活跃度较高的组件。

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

围绕 clickpay/magento_v4 我们能提供哪些服务?
定制开发 / 二次开发

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

BUG 修复 & 性能优化

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

项目外包 & 长期维护

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

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

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2024-02-28