承接 vanilo/netopia 相关项目开发

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

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

vanilo/netopia

Composer 安装命令:

composer require vanilo/netopia

包简介

Netopia Payment Gateway Support for Vanilo (Laravel)

README 文档

README

Tests Packagist Stable Version StyleCI Packagist downloads MIT Software License

This library implements the Netopia Payment Processor for Vanilo Payments.

Being a Concord Module it is intended to be used by Laravel Applications.

IMPORTANT

Netopia uses the RC4 cipher algo for its messages. In recent (~2023) OpenSSL installations this cipher is disabled by default.

In order to use this library you must enable legacy options for OpenSSL 3:

  1. Find and open the file at /etc/ssl/openssl.cnf
  2. At the [default_sect] section change it to the following:
    [default_sect]
    activate = 1
    [legacy_sect]
    activate = 1
  3. Then find the [provider_sect] and change it to the following:
    [provider_sect]
    default = default_sect
    legacy = legacy_sect

Documentation

Refer to the markdown files in the docs folder.

To-do

The library works but there's space for improvement.

1. Recurring Payments

It's completely untested at the moment, thus it may or may not work

2. Usage of Loyalty Points

It's completely untested at the moment.

3. Add More Specific Error Test Cases

  • Use the test cards from the doc to generate scenarios for various failed cases
  • Catch the XML responses, add them to unit tests and check them specifically

Cases:

  • Successful Payment. Covered.
  • Expired Card. Covered.
  • Partial refund. Covered.
  • Complete refund. Covered.
  • Transaction Declined. Covered.
  • Insufficient funds. No unit test coverage.
  • Incorrect CVV2/CCV. No unit test coverage.
  • Transaction not permitted (eg. card not enrolled). No unit test coverage.
  • Risky card detected (eg. stolen card). No unit test coverage.
  • Error at the origin Bank (eg. can't connect to the Bank). No unit test coverage.

4. Test With Real Netopia Keys

During tests, I created a test account at Netopia and generated test keys, to establish close to real life scenarios during unit tests.

There were issues with simulating the encrypted messages generated by Netopia using the actual keys. The tests use a locally generated RSA key pair for this functionality. It seems to do the job, but if we find to cause of the issue, let's use actual Netopia keys.

5. Record More Response Details

Netopia returns the following data which we should record locally:

  • pan_masked (card number digits eg. 4****2806)

6. SMS Payment

Netopia supports SMS payments. Likely won't be implemented here as it's more for micro payments, but hell, who knows 🤷

7. Refunds

Netopia supports direct credit (refund) and capture operations via its SOAP API

vanilo/netopia 适用场景与选型建议

vanilo/netopia 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 4.87k 次下载、GitHub Stars 达 1, 最近一次更新时间为 2021 年 01 月 13 日, 在 PHP 生态内属于活跃度较高的组件。

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

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

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

BUG 修复 & 性能优化

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

项目外包 & 长期维护

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

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

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2021-01-13