定制 esparks/module-paylike 二次开发

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

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

esparks/module-paylike

Composer 安装命令:

composer require esparks/module-paylike

包简介

Paylike magento2 gateway development

README 文档

README

This plugin is not developed or maintained by Paylike but kindly made available by a user.

Released under the GPL V3 license: https://opensource.org/licenses/GPL-3.0

Supported Magento versions

Last succesfull test

The plugin has been tested with most versions of Magento at every iteration. We recommend using the latest version of Magento, but if that is not possible for some reason, test the plugin with your Magento version and it would probably function properly.

Automatic installation

Once you have installed Magento, follow these simple steps:

  1. Signup at paylike.io (it’s free);
  2. Create a live account;
  3. Create an app key for your Magento website;
  4. Purchase the extension archive from the Magento Marketplace;
  5. Upload the files trough the Extension Manager;
  6. Activate the module using the Extension Manager;
  7. The module should now be auto installed and visible under "Stores >> Configuration >> Sales >> Payment Methods", the module will be listed here inside the "OTHER PAYMENT METHODS" list;
  8. Insert the app key and your public key in the Payment module settings for the Paylike plugin.

Manual installation (mode 1)

Once you have installed Magento, follow these simple steps:

  1. Signup at paylike.io (it’s free);
  2. Create a live account;
  3. Create an app key for your Magento website;
  4. Purchase and download the extension archive from the Magento Marketplace;
  5. Login to your Magento 2.x Hosting site (for details contact your hosting provider);
  6. Open some kind File Manager for listing Hosting files and directories and locate the Magento root directory where Magento 2.x is installed (also can be FTP or Filemanager in CPanel for example);
  7. Unzip the file in a temporary directory;
  8. Upload the content of the unzipped extension without the original folder (only content of unzipped folder) into the Magneto “<MAGENTO_ROOT_FOLDER>/app/code/Lunar/Paylike/” folder (create empty folders "code/Lunar/Paylike/");
  9. Login to your Magento 2.x Hosting site using SSH connection (for details contact our hosting provider);
  10. Run the following commands from the Magento root directory: * php bin/magento setup:upgrade * composer require paylike/php-api ^1.0.8 * php bin/magento cache:clean
  11. Open the Magento 2.x Admin panel;
  12. The module should now be auto installed and visible under "Stores >> Configuration >> Sales >> Payment Methods", the module will be listed here inside the "OTHER PAYMENT METHODS" list;
  13. Insert the app key and your public key in the Payment module settings for the Paylike plugin.

Manual installation (mode 2) (more details here devdocs.magento.com)

Once you have installed Magento, follow these simple steps:

  1. Signup at paylike.io (it’s free);
  2. Create a live account;
  3. Create an app key for your Magento website;
  4. Purchase the extension from the Magento Marketplace;
  5. Login to your Magento 2.x Hosting site using SSH connection (for details contact your hosting provider);
  6. Run the following commands from the Magento root directory (more info in the official documentation):
    • composer require lunar/module-paylike (this will also install paylike/php-api ^1.0.8` package specified in composer.json file in this module)
    • esparks/module-paylike --clear-static-content
    • php bin/magento setup:upgrade
    • php bin/magento setup:di:compile
    • php bin/magento cache:clean
  7. Open the Magento 2.x Admin panel;
  8. The module should now be auto installed and visible under "Stores >> Configuration >> Sales >> Payment Methods", the module will be listed here inside the "OTHER PAYMENT METHODS" list;
  9. Insert the app key and your public key in the Payment module settings for the Paylike plugin.

Updating settings

Under the Magento Paylike payment method settings, you can:

  • Enable/disable the module
  • Update the payment method title in the payment gateways list
  • Change the credit card logos displayed in the description
  • Update the payment method description in the payment gateways list
  • Update the title that shows up in the payment popup
  • Set transaction/payment mode (test/live)
  • Add test/live keys
  • Change the capture mode (Instant/Delayed by changing the order status)
  • Enable sending invoices by email
  • Change new order status
  • Enable payment logs

Upgrading module

  • To update or upgrade the module run following commands:

    • composer update lunar/module-paylike (upgrade to latest version)
      or (for eg.)
    • composer require lunar/module-paylike ^1.0.1 (upgrade to version 1.0.1)
  • After that, run the following commands:

    • php bin/magento setup:upgrade --keep-generated
    • php bin/magento setup:static-content:deploy
    • php bin/magento cache:clean

How to

  1. Capture
    • In Instant mode, the orders are captured automatically
    • In delayed mode you can capture an order by creating an invoice with Capture Online Amount status (at the bottom)
  2. Refund
    • To refund an order you can use the Credit memo on the invoice.
  3. Void
    • To void an order you can use the Void action if the order hasn't been captured. If it has, only refund is available.

Available features

  1. Capture

    • Magento admin panel: full capture
    • Paylike admin panel: full/partial capture
  2. Refund

    • Magento admin panel: full refund
    • Paylike admin panel: full/partial refund
  3. Void

    • Magento admin panel: full void
    • Paylike admin panel: full/partial void
  4. Multishipping support - a customer can place orders on multiple shipping addresses

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

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

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

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

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

BUG 修复 & 性能优化

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

项目外包 & 长期维护

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

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

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: GPL-3.0-or-later
  • 更新时间: 2017-10-31