Lines:
1 to 100 of 152
<?php /** * Payment Functions * * @package EDD * @subpackage Payments * @copyright Copyright (c) 2015, Pippin Williamson * @license http://opensource.org/licenses/gpl-2.0.php GNU Public License * @since 1.0 */ // Exit if accessed directly if ( !defined( 'ABSPATH' ) ) exit; /* function edd_get_payment() – Retrieves an instance of EDD_Payment for a specified ID. */ /* function edd_get_payments() – Get Payments */ /* function edd_get_payment_by() – Retrieve payment by a given field */ /* function edd_insert_payment() – Insert Payment */ /* function edd_update_payment_status() – Updates a payment status. */ /* function edd_delete_purchase() – Deletes a Purchase */ /* function edd_undo_purchase() – Undos a purchase, including the decrease of sale and earning stats. Used for when refunding or deleting a purchase */ /* function edd_count_payments() – Count Payments */ /* function edd_check_for_existing_payment() – Check For Existing Payment */ /* function edd_get_payment_status() – Get Payment Status */ /* function edd_get_payment_status_label() – Given a payment status string, return the label for that string. */ /* function edd_get_payment_statuses() – Retrieves all available statuses for payments. */ /* function edd_get_payment_status_keys() – Retrieves keys for all available statuses for payments */ /* function edd_is_payment_complete() – Checks whether a payment has been marked as complete. */ /* function edd_get_total_sales() – Get Total Sales */ /* function edd_get_total_earnings() – Get Total Earnings */ /* function edd_increase_total_earnings() – Increase the Total Earnings */ /* function edd_decrease_total_earnings() – Decrease the Total Earnings */ /* function edd_get_payment_meta() – Get Payment Meta for a specific Payment */ /* function edd_update_payment_meta() – Update the meta for a payment */ /* function edd_get_payment_meta_user_info() – Get the user_info Key from Payment Meta */ /* function edd_get_payment_meta_downloads() – Get the downloads Key from Payment Meta */ /* function edd_get_payment_meta_cart_details() – Get the cart_details Key from Payment Meta */ /* function edd_get_payment_user_email() – Get the user email associated with a payment */ /* function edd_is_guest_payment() – Is the payment provided associated with a user account */ /* function edd_get_payment_user_id() – Get the user ID associated with a payment */ /* function edd_get_payment_customer_id() – Get the customer ID associated with a payment */ /* function edd_payment_has_unlimited_downloads() – Get the status of the unlimited downloads flag */ /* function edd_get_payment_user_ip() – Get the IP address used to make a purchase */ /* function edd_get_payment_completed_date() – Get the date a payment was completed */ /* function edd_get_payment_gateway() – Get the gateway associated with a payment */ /* function edd_get_payment_currency_code() – Get the currency code a payment was made in */ /* function edd_get_payment_currency() – Get the currency name a payment was made in */ /* function edd_get_payment_key() – Get the purchase key for a purchase */ /* function edd_get_payment_number() – Get the payment order number */ /* function edd_format_payment_number() – Formats the payment number with the prefix and postfix */ /* function edd_get_next_payment_number() – Gets the next available order number */ /* function edd_remove_payment_prefix_postfix() – Given a given a number, remove the pre/postfix */ /* function 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. */ /* function edd_get_payment_amount() – Get the amount associated with a payment */ /* function edd_payment_subtotal() – Retrieves subtotal for payment (this is the amount before taxes) and then