edd_undo_purchase( int $download_id = false, int $payment_id )

Undos a purchase, including the decrease of sale and earning stats. Used for when refunding or deleting a purchase


Description Description


Parameters Parameters

$download_id

(Optional) Download (Post) ID

Default value: false

$payment_id

(Required) Payment ID


Top ↑

Return Return

(void)


Top ↑

Source Source

File: includes/payments/functions.php


			

Top ↑

Changelog Changelog

Changelog
Version Description
1.0.8.1 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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