承接 brianhenryie/bh-wp-order-email-reconcile 相关项目开发

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

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

brianhenryie/bh-wp-order-email-reconcile

Composer 安装命令:

composer require brianhenryie/bh-wp-order-email-reconcile

包简介

Mark orders as paid by reconciling payment-confirmation emails. WooCommerce supported; designed to be extensible to other order sources (e.g. GiveWP).

README 文档

README

PHPCS WPCS

BH WP Order Email Reconcile

Mark orders as paid by reconciling payment-confirmation emails against unpaid orders.

Emails are fetched and stored by BH WP Mailboxes. When new emails arrive, this library parses them and matches them to unpaid orders by order id (from the payment note), customer payment id (e.g. Venmo/$CashTag), email address, then name.

The core is integration-agnostic: it deals only with Unpaid_Order objects supplied by an Unpaid_Orders_Provider_Interface. WooCommerce is supported today; GiveWP is scaffolded as a second integration. See ARCHITECTURE.md and PLAN.md.

Usagew

add_action( 'plugins_loaded', function () {
    $settings = new My_Reconcile_Settings(); // implements Email_Reconcile_Settings_Interface
    $logger   = Logger::instance( $settings );
    BH_WP_Order_Email_Reconcile::make( $settings, $logger );
} );

Email accounts (server, credentials, filters) are configured through the BH WP Mailboxes API; this library never stores credentials.

Development

composer install
composer dump-autoload          # after adding/renaming classes

# Lint + static analysis
composer lint                   # phpcbf + phpcs + phpstan

# Unit + wpunit tests (needs the wp-env DB on port 33066)
npm install
npm run wp-env:start
vendor/bin/codecept run unit
vendor/bin/codecept run wpunit

# End-to-end (Playwright, against wp-env on :8888)
npm run test:e2e

The development plugin provides a fake WooCommerce gateway, places a fake order, configures the library with test mailbox credentials, and sends a fake payment email to verify reconciliation.

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: GPL-2.0-or-later
  • 更新时间: 2026-07-10

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固