WooCommerce 訂單狀態與預設狀態流程

WooCommerce 預設有許多訂單狀態,而不同狀態之前有一些預設的流程。

對於商家來說,了解這些流程可以更知道如何去管理商店的訂單。

對於開發者,了解這些流程可以在進行客製化時設定正確的流程狀態。

WooCommerce 預設有7種訂單狀態

  • Pending payment (等待付款) – Order received (unpaid)
  • Failed (失敗)– Payment failed or was declined (unpaid). Note that this status may not show immediately and instead show as Pending until verified (i.e., PayPal)
  • Processing (處理中)– Payment received and stock has been reduced – the order is awaiting fulfillment. All product orders require processing, except those that are Digital and Downloadable.
  • Completed (完成)– Order fulfilled and complete – requires no further action
  • On-Hold (擱置)– Awaiting payment – stock is reduced, but you need to confirm payment
  • Cancelled (取消)– Cancelled by an admin or the customer – no further action required (Cancelled orders do not reduce stock by default)
  • Refunded (退款)– Refunded by an admin – no further action required

如果是透過像是 paypal standard 付款,在收到paypal的付款通知(IPN)前,訂單狀態為 Pending payment。當收到paypal通知後,訂單狀態會改變為 processing。

如果是透過線上交易付款,例如信用卡公司提供的付款閘道,當使用者成功付款後,狀態會改變為 processing

如果是透過手動交易付款,例如銀行ATM轉帳、支票,訂單狀態會改為on-hold

 

Direct Bank Transfer (BACS)

發佈留言