| 开发者 |
wpheka
akshayaswaroop |
|---|---|
| 更新时间 | 2026年11月10日 15:45 |
| PHP版本: | 7.4 及以上 |
| WordPress版本: | 7.1.4 |
| 版权: | GPLv3 or later |
| 版权网址: | 版权信息 |
edit_orders_for_woocommerce_. Added in 1.4.0:
should_hold, hold_started, hold_released. The time for changes: window_end, window_max_seconds.customer_changes, customer_action, customer_change_intercept, panel_args, panel_actions, panel_state, customer_preview, preview_after, balance_redirect.normalise_change, plan_change, can_change_item, plan_run, refund_handler, and the plan's methods add_refund_line(), add_balance_item(), add_description(), add_error(), set_extra() and get_extra(). A shipping method can now change on its own in an address change.cancel_intercept, cancel_request_details, cancel_form_fields, cancel_refund, execute_cancel, request_summary, activity_requests, activity_requests_heading, activity_decide.admin_preview_after, admin_apply_args (and a fourth argument on before_apply), admin_address_tab, email_data, email_after_summary.page_tabs (with page_tab_{key}), settings_sections, settings_after_sections, settings_save, page_links.Any WooCommerce payment method that supports refunds, such as Stripe, WooPayments and PayPal Payments. For methods that can't (for example bank transfer), the refund is recorded and you are reminded to send the money yourself.
They get an email with a link to pay the difference, using any payment method your store offers. When the customer makes the change themselves, they are taken straight to that page.
Only if you choose it. By default every cancellation comes to you to approve or decline in WPHEKA > Edit Orders. The customer is emailed either way. Switch the setting to "Cancel and refund straight away" and the order is cancelled and refunded the moment the customer confirms. You can turn customer cancellation off completely and keep the other changes.
Processing and On hold orders by default. You can change that list in WPHEKA > Edit Orders > Settings. A Stripe payment that is only authorized must be captured first. Customers can't change an order once it ships: when it is completed, when a tracking number is added or when WooCommerce marks it fulfilled. You can still edit it yourself.
The items go back into stock and the refund is made through the payment method the customer used, as an ordinary WooCommerce refund with tax split per rate. If the payment method cannot refund automatically, the refund is still recorded, the stock is still restored, the order is flagged "Manual refund needed" and you get an email. The plugin never says a refund happened when it did not.
Refunds and balance orders are ordinary WooCommerce records with tax split per rate, so WooCommerce Analytics reports them correctly. When an address change moves an order to a different tax rate, one refund can hold both the tax given back and the tax charged. A few third-party invoice or tax-export plugins read WooCommerce's per-rate refund figures without their sign, so they may show the new rate's tax as refunded. Totals and Analytics are not affected.
With the hold on, a paid order waits as Open for changes until the time for changes ends. WooCommerce counts it as paid: stock is reduced, Analytics counts the sale and the customer and store get their usual emails at payment. Plugins that act when an order reaches Processing (shipping labels, warehouse and fulfilment tools, your own integrations reading status=processing) see the order when it moves to Processing, not before. The hold is off by default.
Go to WPHEKA > Edit Orders > Settings, turn on Debug log and save. Repeat what went wrong. Then open WooCommerce > Status > Logs, choose the source wpheka-edit-orders-for-woocommerce, download the log and attach it to your support request.
The plugin does not write names, emails, phone numbers or addresses to the log. It records order numbers, amounts, payment method IDs and country and state codes. Errors and warnings are recorded even with Debug log off. The plugin sends nothing anywhere: you decide what to share. Turn Debug log off again when you are done.