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.
- Download the latest release of the plugin
- Upload the content of the folder to magento2 installation directory:
app/code/ClickPay/PayPage - Run the following Magento commands:
php bin/magento setup:upgradephp bin/magento setup:static-content:deployphp bin/magento cache:clean
Install using Composer
composer require clickpay/magento_v4php bin/magento setup:upgradephp bin/magento setup:static-content:deployphp 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
- Navigate to
"Magento admin panel" >> Stores >> Configuration - Open
"Sales >> Payment Methods - Select the preferred payment method from the available list of ClickPay payment methods
- Enable the
Payment Gateway - Enable hosted or iframe method
- Enable automatic invoice
- 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
- Click
Save Config
Configure the Plugin for Managed form
- Navigate to
"Magento admin panel" >> Stores >> Configuration - Open
"Sales >> Payment Methods - Enable the
Payment Gateway - Enable Managed form in the frame option
- Enable automatic invoice
- 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
- Click
Save Config - Contact Clickpay Technical team for whitlisting you server for having this feature.
Configure the Plugin for Direct Apple Pay on your website
-
Navigate to
"Magento admin panel" >> Stores >> Configuration -
Open
"Sales >> Payment Methods -
Select the Apple Pay method from the available list of ClickPay payment methods
-
Please find the setup section below for the apple pay certificate creation
-
Once certificates created upload the certificates in admin panel
-
Add the Merchnat identifier name
-
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
-
Click
Save Config
Setup
- You must have a Apple Developer Account To use this Feature
- 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
-
Create two certificates (Apple Pay Payment Processing Certificate & Apple Pay Merchant Identity Certificate)
-
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- -
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
- Access
debug_Clickpay.logfile 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 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
统计信息
- 总下载量: 242
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 2
- 点击次数: 7
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2024-02-28