Action: mt_purchase_completed

do_action( 'mt_purchase_completed', $post_id, $link, $purchase )

Purchase is now completed.

Parameters:
Name Type Description
$post_id int

Payment ID.

$link string

Receipt link.

$purchase array

Array of purchase information.

Source: