承接 elgentos/magento2-vurbis-punchout 相关项目开发

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

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

elgentos/magento2-vurbis-punchout

Composer 安装命令:

composer require elgentos/magento2-vurbis-punchout

包简介

This unofficial module provides an integration with the Punchout service provided by Vurbis.

README 文档

README

This is an unofficial version of the original Magento 2 Vurbis extension.

This version contains some bugfixes, some new features and a lot of refactoring.

It:

  • Is based on the original 2.1.12 version
  • Uses Guzzle instead of plain cURL
  • Uses Magento's query builder instead of raw SQL
  • Uses PHP 8 style constructor promotion
  • Declares strict types in all PHP files
  • Adds a Hyvä compatibility configuration option (default disabled)
  • Adds an option to control sending all your module information to Vurbis with the newly introduced Status endpoint (default disabled)
  • Adds an option to use the original customer account instead of the random generated customers Vurbis' middleware creates (default disabled)
  • Adds a cron to clean up the random generated Vurbis customers
  • Adds a test mode for testing on local environments
  • Adheres to Magento's Coding Standards (phpcs and PhpStan level 4)

Installation

composer require elgentos/magento2-vurbis-punchout
bin/magento setup:upgrade

How to use the test mode?

Vurbis will supply you with a login URL in this format;

https://your-store.com/punchout/customer/login?username=johndoe%40example.com&password=abcdefghijklmnopqrstuvwxyz&HOOK_URL=https%3A%2F%2Fioedeveloper.com%2Fapi%2Fintegrations%2Fpunchoutparser%2Foci.php

If you will use this format on your local installation, the callback will be done to the production URL. This callback will create a customer which you would normally be logged into. However, since you are working on a different environment, that customer account isn't created in your instance.

To be able to test, you can add &test=your%40emailaddress.com to the URL. If your Magento store is in Developer mode, it will then log you in into that given customer account.

What is the option to use the original customer account?

In some instances, we need to use the original customer account to log into instead of the newly generated one. This has to do with certain customer attributes that are set on the original customer account which won't be available on the generated one.

The main downside of enabling this setting is that the cart will be shared across multiple OCI buyers. Only use this if there is only one OCI buyer! Otherwise, carts might be 'randomly' cleared.

What does the Hyvä / headless compatibility setting do?

This will disable setting the quote's customer ID value to null to avoid a GraphQL validation error. Hyvä and headless setups use GraphQL to update the cart. Magento has added extra validation on the GraphQL to check whether the cart that is being updated actually belongs to the currently logged in user. Setting the Customer ID field on the quote to null makes this validation fail, so we disable it when you enable this setting.

elgentos/magento2-vurbis-punchout 适用场景与选型建议

elgentos/magento2-vurbis-punchout 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 3.52k 次下载、GitHub Stars 达 4, 最近一次更新时间为 2024 年 04 月 09 日, 在 PHP 生态内属于活跃度较高的组件。

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

围绕 elgentos/magento2-vurbis-punchout 我们能提供哪些服务?
定制开发 / 二次开发

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

BUG 修复 & 性能优化

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

项目外包 & 长期维护

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

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

统计信息

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

GitHub 信息

  • Stars: 4
  • Watchers: 1
  • Forks: 1
  • 开发语言: PHP

其他信息

  • 授权协议: OSL-3.0
  • 更新时间: 2024-04-09