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
Website & Email Hosting
Get the best website & email hosting for speed, security, and peace of mind. No restrictions. Freedom to do what you need in order to run your business.