Easy Digital Downloads
  • Package
  • Class
  • Tree

Packages

  • EDD
    • Admin
      • Actions
      • Add-ons
      • Dashboard
      • Discounts
      • Downloads
      • Export
      • Notices
      • Pages
      • Payments
      • Reports
      • Settings
      • System
      • Upgrades
      • Upload
      • Welcome
    • Cart
    • Checkout
    • Classes
      • API
      • Fees
      • HTML
      • Roles
      • Session
    • Emails
    • Functions
      • AJAX
      • Compatibility
      • Errors
      • Formatting
      • Install
      • Login
      • Taxes
      • Templates
    • Gateways
    • Logging
    • Payments
    • Shortcodes
    • Widgets

Functions

  • edd_check_for_existing_payment
  • edd_clear_earnings_cache
  • edd_clear_user_history_cache
  • edd_complete_purchase
  • edd_delete_purchase
  • edd_get_earnings_by_date
  • edd_get_payment_amount
  • edd_get_payment_fees
  • edd_get_payment_gateway
  • edd_get_payment_key
  • edd_get_payment_meta
  • edd_get_payment_meta_cart_details
  • edd_get_payment_meta_downloads
  • edd_get_payment_meta_user_info
  • edd_get_payment_notes
  • edd_get_payment_status
  • edd_get_payment_statuses
  • edd_get_payment_subtotal
  • edd_get_payment_tax
  • edd_get_payment_user_email
  • edd_get_payment_user_id
  • edd_get_payments
  • edd_get_purchase_id_by_key
  • edd_get_sales_by_date
  • edd_get_total_earnings
  • edd_get_total_sales
  • edd_hide_payment_notes
  • edd_hide_payment_notes_from_feeds
  • edd_insert_payment
  • edd_insert_payment_note
  • edd_is_payment_complete
  • edd_payment_amount
  • edd_payment_subtotal
  • edd_payment_tax
  • edd_record_status_change
  • edd_trigger_purchase_delete
  • edd_undo_purchase
  • edd_update_edited_purchase
  • edd_update_old_payments_with_totals
  • edd_update_payment_status

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.
Easy Digital Downloads API documentation generated by ApiGen 2.8.0