Package EDD\Payments
Functions summary
edd_check_for_existing_payment | Check For Existing Payment |
edd_clear_earnings_cache | Flushes the total earning cache when a new payment is created |
edd_clear_user_history_cache | Flushes the current user's purchase history transient when a payment status is updated |
edd_complete_purchase | Complete a purchase |
edd_delete_purchase | Deletes a Purchase |
edd_get_earnings_by_date | Get Earnings By Date |
edd_get_payment_amount | Get the amount associated with a payment |
edd_get_payment_fees | Retrieves arbitrary fees for the payment |
edd_get_payment_gateway | Get the gateway associated with a payment |
edd_get_payment_key | Get the purchase key for a purchase |
edd_get_payment_meta | Get Payment Meta for a specific Payment |
edd_get_payment_meta_cart_details | Get the cart_details Key from Payment Meta |
edd_get_payment_meta_downloads | Get the downloads Key from Payment Meta |
edd_get_payment_meta_user_info | Get the user_info Key from Payment Meta |
edd_get_payment_notes | Retrieve all notes attached to a purchase |
edd_get_payment_status | Get Payment Status |
edd_get_payment_statuses | Retrieves all available statuses for payments. |
edd_get_payment_subtotal | Retrieves subtotal for payment (this is the amount before taxes) and then returns a non formatted amount. |
edd_get_payment_tax | Retrieves taxed amount for payment and then returns a non formatted amount |
edd_get_payment_user_email | Get the user email associated with a payment |
edd_get_payment_user_id | Get the user ID associated with a payment |
edd_get_payments | Get Payments |
edd_get_purchase_id_by_key | Retrieve the purchase ID based on the purchase key |
edd_get_sales_by_date | Get Sales By Date |
edd_get_total_earnings | Get Total Earnings |
edd_get_total_sales | Get Total Sales |
edd_hide_payment_notes | Exclude notes (comments) on edd_payment post type from showing in Recent Comments widgets |
edd_hide_payment_notes_from_feeds | Exclude notes (comments) on edd_payment post type from showing in comment feeds |
edd_insert_payment | Insert Payment |
edd_insert_payment_note | Add a note to a payment |
edd_is_payment_complete | Checks whether a payment has been marked as complete. |
edd_payment_amount | Get the fully formatted payment amount. The payment amount is retrieved using edd_get_payment_amount() and is then sent through edd_currency_filter() and edd_format_amount() to format the amount correctly. |
edd_payment_subtotal | Retrieves subtotal for payment (this is the amount before taxes) and then returns a full formatted amount. This function essentialy calls edd_get_payment_subtotal() |
edd_payment_tax | Retrieves taxed amount for payment and then returns a full formatted amount This function essentialy calls edd_get_payment_tax() |
edd_record_status_change | Record payment status change |
edd_trigger_purchase_delete | Trigger a Purchase Deletion |
edd_undo_purchase | Undos a purchase, including the decrease of sale and earning stats. Used for when refunding or deleting a purchase |
edd_update_edited_purchase | Update Edited Purchase |
edd_update_old_payments_with_totals | Updates all old payments, prior to 1.2, with new meta for the total purchase amount |
edd_update_payment_status | Updates a payment status, and performs all necessary functions to mark it as complete, and to finish a purchase. |