edd_complete_purchase( int $payment_id, string $new_status, string $old_status )

Complete a purchase


Description Description

Performs all necessary actions to complete a purchase. Triggered by the edd_update_payment_status() function.


Parameters Parameters

$payment_id

(Required) the ID number of the payment

$new_status

(Required) the status of the payment, probably "publish"

$old_status

(Required) the status of the payment prior to being marked as "complete", probably "pending"


Top ↑

Return Return

(void)


Top ↑

Source Source

File: includes/payments/actions.php


			

Top ↑

Changelog Changelog

Changelog
Version Description
1.0.8.3 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.