Checkout: Action – checkout_order_finished

Description

checkout_order_finished action hook is fired when an order is finished.

Arguments

  • $order_id (The ID of the order which is completed eg. 123)
  • $pmethod (The slug of the payment method which is used eg. pp)
  • $paid (Paid status eg. Y or N)

Example

Earn Money by Referring People

Refer customers to us with your affiliate link and earn commission on sales from your link.

Get Started

Pin It on Pinterest