跳至内容
WordPress.org

China 简体中文

  • 主题
  • 插件
  • 新闻
    • 文档
    • 论坛
  • 关于
  • 获取 WordPress
获取 WordPress
WordPress.org

Plugin Directory

FactuPress – Default Customer Payment Method

  • 提交插件
  • 我的收藏
  • 登录
  • 提交插件
  • 我的收藏
  • 登录

FactuPress – Default Customer Payment Method

作者:Jairo Ochoa
下载
  • 详情
  • 评价
  • 安装
  • 开发进展
支持

描述

FactuPress – Default Customer Payment Method lets you fix a preferred payment gateway for each customer and reuses it in two places, saving clicks and avoiding mistakes:

  • Manual orders in the admin. When you pick a customer while creating or editing an order in Orders, their default payment method is preselected automatically, on both the classic and the HPOS (high-performance order storage) order screens.
  • Checkout. If the customer’s preferred gateway is currently available, it comes preselected for them at checkout — classic checkout and the Cart & Checkout blocks are both supported.

The default can be set from two places:

  1. The customer’s profile (Users → Edit User), by any user who can edit users. This list always matches the gateways WooCommerce itself would offer on the manual order screen (active gateways only, same “Other” fallback).
  2. My Account, by the customer themselves — only if the store owner allows it via a new setting under WooCommerce → Settings → Accounts & Privacy → Customer choice. Off by default.

Why this plugin

Stores that create a lot of orders manually from the admin (phone orders, in-person sales, B2B accounts with a fixed payment method) end up picking the same payment gateway for the same customer over and over. This plugin removes that repetitive step, and optionally lets recurring customers speed up their own checkout the same way.

Requirements

This plugin requires WooCommerce to be active. It does nothing on sites without WooCommerce, and shows an admin notice if WooCommerce is deactivated while this plugin remains active.

安装

  1. Upload the plugin files to the /wp-content/plugins/factupress-default-customer-payment-method directory, or install the plugin through the WordPress plugins screen directly.
  2. Activate the plugin through the “Plugins” screen in WordPress.
  3. Make sure WooCommerce is installed and active.
  4. Go to a customer’s profile (Users → Edit User) to set their default payment method, or enable customer self-service under WooCommerce → Settings → Accounts & Privacy → Customer choice.

常见问题

Does this work with High-Performance Order Storage (HPOS)?

Yes. The plugin declares HPOS compatibility and the manual-order autofill works on both the classic (post.php) and the HPOS (admin.php?page=wc-orders) order screens.

Does this work with the Cart & Checkout blocks, or only the classic checkout?

Both. The classic checkout and the Store API used by the Cart & Checkout blocks read the same WooCommerce session key to decide which payment method is preselected, so a single mechanism covers both.

What happens if the customer’s preferred gateway gets disabled later?

It’s simply ignored wherever it would apply (manual order autofill, checkout preselection) until it’s enabled again or a new default is chosen. Nothing breaks.

Does this collect any data or call any external service?

No. Everything is stored locally as WordPress user meta and a single option; no external requests are made by this plugin.

评价

此插件暂无评价。

贡献者及开发者

「FactuPress – Default Customer Payment Method」是开源软件。 以下人员对此插件做出了贡献。

贡献者
  • Jairo Ochoa
  • dixitalmedia
  • FactuPress

「FactuPress – Default Customer Payment Method」插件已被翻译至 2 种本地化语言。 感谢所有译者为本插件所做的贡献。

帮助将「FactuPress – Default Customer Payment Method」翻译成简体中文。

对开发感兴趣吗?

您可以浏览代码,查看SVN仓库,或通过RSS订阅开发日志。

更新日志

1.0.0

  • Initial release: default payment method per customer, admin profile selector, optional My Account selector, manual-order autofill (classic and HPOS), checkout preselection (classic and blocks).

额外信息

  • 版本 1.0.0
  • 最后更新:3 天前
  • 活跃安装数量 不到10
  • WordPress 版本 6.0 或更高版本
  • 已测试的最高版本为 7.1.3
  • PHP 版本 8.1 或更高版本
  • 语言

    English (US) 、 Galician 和 Spanish (Spain).

    翻译成简体中文

  • 标签
    checkoutMy accountorderspayment methodwoocommerce
  • 高级视图

评级

尚未提交反馈。

您的评价

查看全部评论

贡献者

  • Jairo Ochoa
  • dixitalmedia
  • FactuPress

支持

有话要说吗?是否需要帮助?

查看支持论坛

  • 关于
  • 新闻
  • 主机
  • 隐私
  • 陈列窗
  • 主题
  • 插件
  • 区块样板
  • 学习
  • 支持
  • 开发者
  • WordPress.tv ↗︎
  • 参与
  • 活动
  • 捐赠 ↗
  • 周边商品 ↗
  • WordPress.com ↗
  • Matt ↗
  • bbPress ↗
  • BuddyPress ↗
WordPress.org

China 简体中文

The WordPress® trademark is the intellectual property of the WordPress Foundation.

  • 关注我们的 X(原 Twitter)账号
  • 访问我们的 Bluesky 账号
  • 关注我们的 Mastodon 账号
  • 访问我们的 Threads 账号
  • 访问我们的 Facebook 公共主页
  • 关注我们的 Instagram 账号
  • 关注我们的 LinkedIn 主页
  • 访问我们的 TikTok 账号
  • 访问我们的 YouTube 频道
  • 访问我们的 Tumblr 账号
代码如诗