Function edd_complete_purchase
Complete a purchase
Performs all necessary actions to complete a purchase. Triggered by the edd_update_payment_status() function.
Package: EDD\Payments
Copyright: Copyright (c) 2013, Pippin Williamson
License: GNU Public License
Since: 1.0.8.3
Located at includes/payments/actions.php
Copyright: Copyright (c) 2013, Pippin Williamson
License: GNU Public License
Since: 1.0.8.3
Located at includes/payments/actions.php
Parameters summary
integer |
$payment_id |
the ID number of the payment |
string |
$new_status |
the status of the payment, probably "publish" |
string |
$old_status |
the status of the payment prior to being marked as "complete", probably "pending" |